move to apply_input_velocity on the subject

This commit is contained in:
2025-02-23 18:25:57 +09:00
parent ca63d4594c
commit 151a757e3e
13 changed files with 142 additions and 62 deletions
+12
View File
@@ -0,0 +1,12 @@
extends State
func enter() -> void:
subject.rotation_base.global_rotation.z = PI / 2
func exit() -> void:
subject.rotation_base.global_rotation.z = 0
func process_physics(_delta: float) -> State:
if not multiplayer.is_server(): return
return