diff --git a/resources/player.tscn b/resources/player.tscn index bbfd3af..872e4be 100644 --- a/resources/player.tscn +++ b/resources/player.tscn @@ -26,9 +26,11 @@ script = ExtResource("1_gyc3h") [node name="MeshInstance3D" type="MeshInstance3D" parent="LeftHand"] mesh = SubResource("CapsuleMesh_ij1v8") -[node name="StaticBody3D" type="StaticBody3D" parent="LeftHand"] +[node name="RigidBody3D" type="RigidBody3D" parent="LeftHand"] +freeze = true +freeze_mode = 1 -[node name="CollisionShape3D" type="CollisionShape3D" parent="LeftHand/StaticBody3D"] +[node name="CollisionShape3D" type="CollisionShape3D" parent="LeftHand/RigidBody3D"] shape = SubResource("SphereShape3D_iyx0m") [node name="RightHand" type="XRController3D" parent="."] @@ -39,9 +41,11 @@ script = ExtResource("1_gyc3h") [node name="MeshInstance3D" type="MeshInstance3D" parent="RightHand"] mesh = SubResource("CapsuleMesh_ij1v8") -[node name="StaticBody3D" type="StaticBody3D" parent="RightHand"] +[node name="RigidBody3D" type="RigidBody3D" parent="RightHand"] +freeze = true +freeze_mode = 1 -[node name="CollisionShape3D" type="CollisionShape3D" parent="RightHand/StaticBody3D"] +[node name="CollisionShape3D" type="CollisionShape3D" parent="RightHand/RigidBody3D"] shape = SubResource("SphereShape3D_iyx0m") [node name="XRCamera3D" type="XRCamera3D" parent="." node_paths=PackedStringArray("RightHand", "LeftHand")]