This commit is contained in:
Florian 2025-09-19 12:42:53 +02:00
commit 4699a8f22c

View file

@ -116,12 +116,7 @@ func manage_animation() -> void:
else:
if anim_sprite.animation == "walk":
anim_sprite.stop()
else:
if anim_sprite.animation == "walk":
anim_sprite.stop()
if not $AnimatedSprite2D.is_playing():
$AnimatedSprite2D.play("idle")
func manage_velocity(delta: float) -> void:
up_direction = (position - earth_center).normalized();