working on start room

This commit is contained in:
Clevertop 2024-08-10 21:26:51 +10:00
parent 8cceafb10c
commit 6fe8b66184
7 changed files with 164 additions and 33 deletions

View file

@ -6,11 +6,12 @@
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_a6eig"]
[node name="Player" type="CharacterBody3D" node_paths=PackedStringArray("camera", "raycast")]
[node name="Player" type="CharacterBody3D" node_paths=PackedStringArray("camera", "raycast", "hand")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.83982, 0)
script = ExtResource("1_tc5d2")
camera = NodePath("Camera3D")
raycast = NodePath("Camera3D/RayCast3D")
hand = NodePath("Camera3D/hand")
[node name="MeshInstance3D2" type="MeshInstance3D" parent="."]
mesh = SubResource("CapsuleMesh_5q2rg")
@ -24,5 +25,8 @@ transform = Transform3D(1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 0,
target_position = Vector3(0, -4, 0)
collide_with_areas = true
[node name="hand" type="Node3D" parent="Camera3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.930871, -0.621505, -0.929852)
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
shape = SubResource("CapsuleShape3D_a6eig")