fix: call update_skeleton() to force bone transform refresh for rendering
This commit is contained in:
@@ -401,7 +401,9 @@ func _process(delta: float) -> void:
|
||||
if animation_player.has_animation(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
|
||||
if _anim_debug_timer > 2.0:
|
||||
_anim_debug_timer = 0.0
|
||||
|
||||
Reference in New Issue
Block a user