[gd_scene load_steps=4 format=3 uid="uid://caydb1odthjag"]

[ext_resource type="Script" path="res://src/overworld/player.gd" id="1_uppih"]

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

[sub_resource type="SphereShape3D" id="SphereShape3D_hhbuh"]
radius = 1.5

[node name="Player" type="CharacterBody3D" node_paths=PackedStringArray("_pivot", "_camera")]
script = ExtResource("1_uppih")
_pivot = NodePath("Pivot")
_camera = NodePath("Pivot/Camera3D")

[node name="Pivot" type="Node3D" parent="."]

[node name="Camera3D" type="Camera3D" parent="Pivot"]

[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
shape = SubResource("CapsuleShape3D_cecbr")

[node name="InteractArea" type="Area3D" parent="."]

[node name="CollisionShape3D" type="CollisionShape3D" parent="InteractArea"]
shape = SubResource("SphereShape3D_hhbuh")

[connection signal="body_entered" from="InteractArea" to="." method="_on_interact_area_body_entered"]
[connection signal="body_exited" from="InteractArea" to="." method="_on_interact_area_body_exited"]
