ChronoChamber/player.tscn

57 lines
2 KiB
Text
Raw Permalink Normal View History

2024-08-14 02:49:09 +10:00
[gd_scene load_steps=6 format=3 uid="uid://d34smep2ukq7w"]
2025-04-06 01:34:16 +11:00
[ext_resource type="Script" uid="uid://oja802wjfupx" path="res://Scripts/Player.gd" id="1_tc5d2"]
2024-08-14 02:49:09 +10:00
[ext_resource type="AudioStream" uid="uid://ch68tc5nh3flo" path="res://Assets/switch9.wav" id="2_u5wue"]
[sub_resource type="CapsuleMesh" id="CapsuleMesh_5q2rg"]
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_a6eig"]
radius = 0.47
height = 1.9
2024-08-14 00:45:21 +10:00
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_cfrhy"]
radius = 0.47
height = 1.9
2024-08-14 02:49:09 +10:00
[node name="Player" type="CharacterBody3D" node_paths=PackedStringArray("camera", "raycast", "hand", "collider", "area", "interact_sound", "dash_node")]
script = ExtResource("1_tc5d2")
camera = NodePath("Camera3D")
raycast = NodePath("Camera3D/RayCast3D")
2024-08-10 21:26:51 +10:00
hand = NodePath("Camera3D/hand")
2024-08-11 11:05:16 +10:00
collider = NodePath("CollisionShape3D")
2024-08-14 00:45:21 +10:00
area = NodePath("Area3D")
2024-08-14 02:49:09 +10:00
interact_sound = NodePath("interactSound")
2024-08-11 12:27:38 +10:00
dash_node = NodePath("Camera3D/DashDirection")
[node name="MeshInstance3D2" type="MeshInstance3D" parent="."]
mesh = SubResource("CapsuleMesh_5q2rg")
skeleton = NodePath("../..")
[node name="Camera3D" type="Camera3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.621505, 0)
2025-07-08 15:06:09 +10:00
fov = 90.0
[node name="RayCast3D" type="RayCast3D" parent="Camera3D"]
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 0, 0)
target_position = Vector3(0, -4, 0)
2024-08-10 17:12:20 +10:00
collide_with_areas = true
2024-08-10 21:26:51 +10:00
[node name="hand" type="Node3D" parent="Camera3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.930871, -0.621505, -0.929852)
2024-08-11 12:27:38 +10:00
[node name="DashDirection" type="Node3D" parent="Camera3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -2.0093)
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
shape = SubResource("CapsuleShape3D_a6eig")
2024-08-14 00:45:21 +10:00
[node name="Area3D" type="Area3D" parent="."]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Area3D"]
shape = SubResource("CapsuleShape3D_cfrhy")
2024-08-14 02:49:09 +10:00
[node name="interactSound" type="AudioStreamPlayer" parent="."]
stream = ExtResource("2_u5wue")
volume_db = -10.0
2025-07-08 15:06:09 +10:00
bus = &"SoundFX"