[gd_scene load_steps=5 format=3 uid="uid://wjbuh7jk50nm"] [ext_resource type="Script" path="res://scripts/Player.cs" id="1_aff2a"] [ext_resource type="AudioStream" uid="uid://nkhen28d4xfu" path="res://sounds/163609__leandrosntounis__wind-strong-through-rocks-1.ogg" id="2_ab4w4"] [ext_resource type="AudioStream" uid="uid://5qnq5lp6qxps" path="res://sounds/footsteps.tres" id="3_op70v"] [sub_resource type="CylinderShape3D" id="CylinderShape3D_rgktv"] height = 1.9 radius = 0.3 [node name="Player" type="CharacterBody3D" node_paths=PackedStringArray("Eye", "LookingAt", "HeightBasedWindPlayer", "FootstepPlayer")] floor_block_on_wall = false floor_snap_length = 0.25 script = ExtResource("1_aff2a") MovementSpeed = 4.0 JumpVelocity = 6.0 Gravity = 13.0 Eye = NodePath("PlayerEyeCamera") LookingAt = NodePath("PlayerEyeCamera/LookAt") HeightBasedWindPlayer = NodePath("HeightBasedWindFx") MinVolumeWindHeight = -5.0 MaxVolumeWindHeight = 20.0 FootstepPlayer = NodePath("FootstepFx") FootstepNoiseInterval = 2.0 [node name="PlayerEyeCamera" type="Camera3D" parent="."] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.7, 0) [node name="Ears" type="AudioListener3D" parent="PlayerEyeCamera"] current = true [node name="LookAt" type="RayCast3D" parent="PlayerEyeCamera"] target_position = Vector3(0, 0, -4) collision_mask = 4 debug_shape_custom_color = Color(1, 1, 1, 1) debug_shape_thickness = 5 [node name="CollisionShape3D" type="CollisionShape3D" parent="."] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.95, 0) shape = SubResource("CylinderShape3D_rgktv") [node name="HeightBasedWindFx" type="AudioStreamPlayer" parent="."] process_mode = 3 stream = ExtResource("2_ab4w4") [node name="FootstepFx" type="AudioStreamPlayer3D" parent="."] stream = ExtResource("3_op70v")