23 lines
776 B
Text
23 lines
776 B
Text
[gd_scene load_steps=4 format=2]
|
|
|
|
[sub_resource type="SpatialMaterial" id=1]
|
|
albedo_color = Color( 0.717647, 0.0784314, 0.0784314, 1 )
|
|
|
|
[sub_resource type="PlaneMesh" id=2]
|
|
material = SubResource( 1 )
|
|
|
|
[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( 2 )
|
|
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 )
|