24 lines
776 B
Text
24 lines
776 B
Text
|
[gd_scene load_steps=4 format=2]
|
||
|
|
||
|
[sub_resource type="SpatialMaterial" id=2]
|
||
|
albedo_color = Color( 0.717647, 0.0784314, 0.0784314, 1 )
|
||
|
|
||
|
[sub_resource type="PlaneMesh" id=1]
|
||
|
material = SubResource( 2 )
|
||
|
|
||
|
[sub_resource type="ConcavePolygonShape" id=3]
|
||
|
data = PoolVector3Array( 1, 0, 1, -1, 0, 1, 1, 0, -1, -1, 0, 1, -1, 0, -1, 1, 0, -1 )
|
||
|
|
||
|
[node name="spatial" type="Spatial"]
|
||
|
|
||
|
[node name="mesh_instance" type="MeshInstance" parent="."]
|
||
|
transform = Transform( 5, 0, 0, 0, 1, 0, 0, 0, 5, 0, 0, 0 )
|
||
|
mesh = SubResource( 1 )
|
||
|
material/0 = null
|
||
|
|
||
|
[node name="static_body" type="StaticBody" parent="mesh_instance"]
|
||
|
transform = Transform( 5, 0, 0, 0, 1, 0, 0, 0, 5, 0, 0, 0 )
|
||
|
|
||
|
[node name="collision_shape" type="CollisionShape" parent="mesh_instance/static_body"]
|
||
|
shape = SubResource( 3 )
|