FPS Controller
This commit is contained in:
6
demo/assets/scripts/player/states/idle_state.gd
Normal file
6
demo/assets/scripts/player/states/idle_state.gd
Normal file
@@ -0,0 +1,6 @@
|
||||
extends PlayerState
|
||||
|
||||
|
||||
func _on_idle_state_processing(delta: float) -> void:
|
||||
if player_controller and player_controller._input_dir.length() > 0:
|
||||
player_controller.state_chart.send_event("onMoving")
|
||||
Reference in New Issue
Block a user