Files
2025-05-09 23:45:18 +02:00

47 lines
1.8 KiB
Plaintext

[gd_scene load_steps=8 format=3 uid="uid://c4orppao35wg6"]
[ext_resource type="Script" path="res://src/character/character_controller.gd" id="1_2yciu"]
[ext_resource type="Script" path="res://src/character/character.gd" id="1_vj5gi"]
[ext_resource type="Script" path="res://src/character/physics_interpolator.gd" id="2_jbufo"]
[ext_resource type="Script" path="res://src/character/camera_controller.gd" id="3_i1tod"]
[ext_resource type="PackedScene" uid="uid://82ichxq5e8vn" path="res://prefabs/interactor.tscn" id="5_ww8qu"]
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_m1ch2"]
radius = 0.4
height = 1.8
[sub_resource type="CapsuleMesh" id="CapsuleMesh_64ysj"]
radius = 0.4
height = 1.8
[node name="Character" type="Node"]
script = ExtResource("1_vj5gi")
[node name="Physics" type="CharacterBody3D" parent="."]
script = ExtResource("1_2yciu")
[node name="CollisionShape3D" type="CollisionShape3D" parent="Physics"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.9, 0)
shape = SubResource("CapsuleShape3D_m1ch2")
[node name="Visual" type="Node3D" parent="." node_paths=PackedStringArray("physicsObject")]
script = ExtResource("2_jbufo")
physicsObject = NodePath("../Physics")
[node name="CameraTarget" type="Node3D" parent="Visual"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.28439, 0)
[node name="CSGMesh3D" type="CSGMesh3D" parent="Visual"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.9, 0)
gi_mode = 2
mesh = SubResource("CapsuleMesh_64ysj")
[node name="CameraArm" type="Node3D" parent="." node_paths=PackedStringArray("target")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.6, 0)
script = ExtResource("3_i1tod")
target = NodePath("../Visual/CameraTarget")
[node name="Camera3D" type="Camera3D" parent="CameraArm"]
[node name="Interactor" parent="CameraArm/Camera3D" instance=ExtResource("5_ww8qu")]