kinematic instead of static

This commit is contained in:
Snorre 2025-04-05 18:03:54 +02:00
parent 407732681c
commit b709b0a2c1

View file

@ -26,9 +26,11 @@ script = ExtResource("1_gyc3h")
[node name="MeshInstance3D" type="MeshInstance3D" parent="LeftHand"] [node name="MeshInstance3D" type="MeshInstance3D" parent="LeftHand"]
mesh = SubResource("CapsuleMesh_ij1v8") 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") shape = SubResource("SphereShape3D_iyx0m")
[node name="RightHand" type="XRController3D" parent="."] [node name="RightHand" type="XRController3D" parent="."]
@ -39,9 +41,11 @@ script = ExtResource("1_gyc3h")
[node name="MeshInstance3D" type="MeshInstance3D" parent="RightHand"] [node name="MeshInstance3D" type="MeshInstance3D" parent="RightHand"]
mesh = SubResource("CapsuleMesh_ij1v8") 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") shape = SubResource("SphereShape3D_iyx0m")
[node name="XRCamera3D" type="XRCamera3D" parent="." node_paths=PackedStringArray("RightHand", "LeftHand")] [node name="XRCamera3D" type="XRCamera3D" parent="." node_paths=PackedStringArray("RightHand", "LeftHand")]