Fixed test platform rotation. Added standing check area to the platform

This commit is contained in:
2026-06-20 14:43:34 +03:00
parent 24481b1f33
commit 6bfe08e76c
4 changed files with 16 additions and 8 deletions
+1 -1
View File
@@ -66,7 +66,7 @@ func _select_animation() -> void:
icon_sprite.play(ANIMATION_SELF_MOVING)
return
var direction : String = ANIMATION_MAP[type][not is_reverse]
var direction : String = ANIMATION_MAP[type][is_reverse]
var suffix := ANIMATION_ACTIVE_SUFFIX if is_moving else ANIMATION_STATIC_SUFFIX
icon_sprite.play(ANIMATION_MOVING_PREFIX + direction + suffix)