move to apply_input_velocity on the subject
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user