[gd_scene load_steps=3 format=3 uid="uid://c2iiqawquye74"]

[ext_resource type="Script" path="res://scripts/player/player.gd" id="1_l52uf"]

[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_rrqu4"]

[node name="Player" type="CharacterBody3D" node_paths=PackedStringArray("raycast")]
wall_min_slide_angle = 1.0472
floor_constant_speed = true
floor_block_on_wall = false
floor_max_angle = 0.872665
safe_margin = 0.01
script = ExtResource("1_l52uf")
SPEED = 7.5
raycast = NodePath("Camera3D/RayCast3D")

[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
shape = SubResource("CapsuleShape3D_rrqu4")

[node name="Camera3D" type="Camera3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.5, 0)
current = true

[node name="RayCast3D" type="RayCast3D" parent="Camera3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.125, 0)
target_position = Vector3(0, 0, -2.5)
collision_mask = 2
