Now About Social Code
summaryrefslogtreecommitdiff
path: root/prefab/rock.tscn
diff options
context:
space:
mode:
Diffstat (limited to 'prefab/rock.tscn')
-rw-r--r--prefab/rock.tscn9
1 files changed, 4 insertions, 5 deletions
diff --git a/prefab/rock.tscn b/prefab/rock.tscn
index d5e8828..d6786da 100644
--- a/prefab/rock.tscn
+++ b/prefab/rock.tscn
@@ -4,12 +4,11 @@
[sub_resource type="SphereMesh" id="SphereMesh_l2tu3"]
-[node name="rock" type="Node3D"]
+[node name="Rock" type="RigidBody3D"]
+collision_layer = 3
-[node name="StaticBody3D" type="StaticBody3D" parent="."]
-
-[node name="CollisionShape3D" type="CollisionShape3D" parent="StaticBody3D"]
+[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
shape = SubResource("SphereShape3D_os5og")
-[node name="MeshInstance3D" type="MeshInstance3D" parent="StaticBody3D/CollisionShape3D"]
+[node name="MeshInstance3D" type="MeshInstance3D" parent="CollisionShape3D"]
mesh = SubResource("SphereMesh_l2tu3")