Feat/14 movement overhaul #20
@@ -401,7 +401,9 @@ func _process(delta: float) -> void:
|
|||||||
if animation_player.has_animation(target_anim):
|
if animation_player.has_animation(target_anim):
|
||||||
animation_player.play(target_anim)
|
animation_player.play(target_anim)
|
||||||
|
|
||||||
# Debug output
|
# Force the skeleton to update bone transforms for rendering
|
||||||
|
if skeleton:
|
||||||
|
skeleton.update_skeleton()
|
||||||
_anim_debug_timer += delta
|
_anim_debug_timer += delta
|
||||||
if _anim_debug_timer > 2.0:
|
if _anim_debug_timer > 2.0:
|
||||||
_anim_debug_timer = 0.0
|
_anim_debug_timer = 0.0
|
||||||
|
|||||||
Reference in New Issue
Block a user