debug: add logging to _process and _apply_procedural_animation
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user