33 lines
1.4 KiB
Text
33 lines
1.4 KiB
Text
[gd_scene format=3 uid="uid://biwwx41ucnqdu"]
|
|
|
|
[ext_resource type="Script" uid="uid://dpbe5stprhgay" path="res://scripts/fps_controller.gd" id="1_ja5wc"]
|
|
|
|
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_j0767"]
|
|
|
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_j0767"]
|
|
albedo_color = Color(1, 0.35686275, 1, 1)
|
|
metallic = 1.0
|
|
metallic_specular = 0.96
|
|
|
|
[sub_resource type="CapsuleMesh" id="CapsuleMesh_ja5wc"]
|
|
material = SubResource("StandardMaterial3D_j0767")
|
|
|
|
[node name="CharacterBody3D" type="CharacterBody3D" unique_id=1574026121 node_paths=PackedStringArray("CAMERA_CONTROLLER")]
|
|
script = ExtResource("1_ja5wc")
|
|
CAMERA_CONTROLLER = NodePath("CameraController/Camera3D")
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="." unique_id=937427845]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
|
|
shape = SubResource("CapsuleShape3D_j0767")
|
|
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="CollisionShape3D" unique_id=1623987747]
|
|
mesh = SubResource("CapsuleMesh_ja5wc")
|
|
|
|
[node name="CameraController" type="Node3D" parent="." unique_id=1589107637]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.5, 0)
|
|
|
|
[node name="Camera3D" type="Camera3D" parent="CameraController" unique_id=1226600021]
|
|
|
|
[node name="ReflectionProbe" type="ReflectionProbe" parent="CameraController/Camera3D" unique_id=1194714730]
|
|
update_mode = 1
|
|
size = Vector3(50, 50, 50)
|