This commit is contained in:
2024-02-27 23:21:44 +01:00
parent ba37eca0c9
commit bfec08ff02
38 changed files with 89 additions and 92 deletions

View File

@ -12,7 +12,7 @@ func _ready():
assert(rotation_speed > 0, "rotation speed must be greater than zero")
character.controlled.connect(on_controlled)
func _process(delta):
func _process(delta: float):
if absf(angle_difference(root.rotation.y, angle)) < 0.001:
return