debug: add logging to _process and _apply_procedural_animation

This commit is contained in:
2026-06-25 11:38:19 -04:00
parent 000caa7791
commit b525db7c53
+2
View File
@@ -461,6 +461,7 @@ func _warn_missing(anim_name: String) -> void:
func _process(delta: float) -> void:
if not skeleton:
print("SkinnedPlayerModel: _process - no skeleton!")
return
# Get movement state from parent PlayerMovementController
@@ -536,6 +537,7 @@ func _process(delta: float) -> void:
_anim_time = min(_anim_time, length)
# Apply procedural animation to skeleton
_apply_procedural_animation(data, _anim_time)
print("SkinnedPlayerModel: applied '%s' t=%.2f" % [_current_anim_name, _anim_time])
else:
# For non-procedural anims (Death, Crouch from GLB), use AP
if animation_player: