[gd_scene format=3 uid="uid://f2oncv0p7qxy"] [ext_resource type="Script" uid="uid://chuyrnjbwvvf5" path="res://source/Scripts/PlayerController.cs" id="1_o7et6"] [ext_resource type="Script" uid="uid://cyl680l0b3hej" path="res://source/Scripts/CameraController.cs" id="3_24gqh"] [ext_resource type="PackedScene" uid="uid://dwcik0e4ixs0u" path="res://scenes/components/CollisionComponent.tscn" id="3_j1g85"] [ext_resource type="Texture2D" uid="uid://bcojlpp18chv2" path="res://assets/textures/debug/16px.png" id="3_yjynp"] [sub_resource type="CapsuleShape3D" id="CapsuleShape3D_o7et6"] [sub_resource type="CapsuleShape3D" id="CapsuleShape3D_24gqh"] height = 1.0 [sub_resource type="CapsuleShape3D" id="CapsuleShape3D_yjynp"] radius = 0.475 height = 0.95 [sub_resource type="CapsuleShape3D" id="CapsuleShape3D_7jddb"] height = 1.5 [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_g13of"] albedo_texture = ExtResource("3_yjynp") uv1_triplanar = true texture_filter = 0 [sub_resource type="CapsuleMesh" id="CapsuleMesh_yjynp"] material = SubResource("StandardMaterial3D_g13of") [node name="Player" type="CharacterBody3D" unique_id=654871017 node_paths=PackedStringArray("StandCollision", "CrouchCollision", "HeadCollisionComponent", "BottomCollisionComponent", "Camera", "StandCameraPosition", "CrouchCameraPosition")] script = ExtResource("1_o7et6") StandCollision = NodePath("StandCollisionShape3D") CrouchCollision = NodePath("CrouchCollisionShape3D") HeadCollisionComponent = NodePath("HeadAreaCollisionComponent") BottomCollisionComponent = NodePath("BottomCollisionComponent") Camera = NodePath("Camera3D") StandCameraPosition = NodePath("StandCameraMarker3D") CrouchCameraPosition = NodePath("CrouchCameraMarker3D") metadata/_edit_group_ = true [node name="Camera3D" type="Camera3D" parent="." unique_id=1744916979] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.5, 0) script = ExtResource("3_24gqh") [node name="RayCast3D" type="RayCast3D" parent="Camera3D" unique_id=126273469] transform = Transform3D(1, 0, 0, 0, -4.371139e-08, -1, 0, 1, -4.371139e-08, 0, 0, 0) [node name="StandCameraMarker3D" type="Marker3D" parent="." unique_id=1201495111] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.5, 0) [node name="CrouchCameraMarker3D" type="Marker3D" parent="." unique_id=659387861] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.25, 0) [node name="StandCollisionShape3D" type="CollisionShape3D" parent="." unique_id=1333295902] shape = SubResource("CapsuleShape3D_o7et6") [node name="CrouchCollisionShape3D" type="CollisionShape3D" parent="." unique_id=899067076] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.5, 0) shape = SubResource("CapsuleShape3D_24gqh") [node name="HeadAreaCollisionComponent" parent="." unique_id=1105156486 node_paths=PackedStringArray("BlackList") instance=ExtResource("3_j1g85")] UseBlackList = true BlackList = [NodePath("..")] [node name="CollisionShape3D" type="CollisionShape3D" parent="HeadAreaCollisionComponent" unique_id=1935674248] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.525, 0) shape = SubResource("CapsuleShape3D_yjynp") [node name="BottomCollisionComponent" parent="." unique_id=2140658375 node_paths=PackedStringArray("BlackList") instance=ExtResource("3_j1g85")] UseBlackList = true BlackList = [NodePath("..")] [node name="CollisionShape3D" type="CollisionShape3D" parent="BottomCollisionComponent" unique_id=659234250] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.75, 0) shape = SubResource("CapsuleShape3D_7jddb") [node name="MeshInstance3D" type="MeshInstance3D" parent="." unique_id=1046949660] mesh = SubResource("CapsuleMesh_yjynp")