FPS Controller

This commit is contained in:
2025-11-13 08:05:46 -05:00
parent c6e4d4f725
commit 14000f0096
177 changed files with 6311 additions and 7 deletions

View File

@@ -0,0 +1,11 @@
extends PlayerState
func _on_airborne_state_physics_processing(_delta: float) -> void:
if player_controller.is_on_floor():
if player_controller.check_fall_speed():
player_controller.camera_effects.add_fall_kick(2.0)
player_controller.state_chart.send_event("onGrounded")
player_controller.current_fall_velocity += player_controller.velocity.y