diff options
Diffstat (limited to 'Rock.tscn')
-rw-r--r-- | Rock.tscn | 14 |
1 files changed, 13 insertions, 1 deletions
@@ -1,5 +1,6 @@ -[gd_scene load_steps=8 format=2] +[gd_scene load_steps=10 format=2] +[ext_resource path="res://Rock.gd" type="Script" id=1] [ext_resource path="res://ChunkedMeshInstance.gd" type="Script" id=2] [sub_resource type="ConvexPolygonShape" id=2] @@ -28,14 +29,25 @@ normal_texture = SubResource( 5 ) [sub_resource type="PrismMesh" id=1] size = Vector3( 5, 10, 5 ) +[sub_resource type="CubeMesh" id=9] +size = Vector3( 5, 10, 5 ) + [node name="Rock" type="StaticBody"] collision_layer = 8 collision_mask = 0 +script = ExtResource( 1 ) [node name="CollisionShape" type="CollisionShape" parent="."] shape = SubResource( 2 ) [node name="MeshInstance" type="MeshInstance" parent="."] +visible = false material_override = SubResource( 6 ) script = ExtResource( 2 ) _mesh = SubResource( 1 ) + +[node name="MeshInstance2" type="MeshInstance" parent="."] +visible = false +material_override = SubResource( 6 ) +script = ExtResource( 2 ) +_mesh = SubResource( 9 ) |