Feat/14 movement overhaul #20

Merged
Dotts merged 86 commits from feat/14-movement-overhaul into main 2026-07-17 10:44:23 -07:00
Showing only changes of commit 000caa7791 - Show all commits
+2
View File
@@ -515,7 +515,9 @@ func _process(delta: float) -> void:
animation_player.active = false
# Reset all bones to rest pose before applying procedural animation
if skeleton:
# Clear any previous global pose overrides
for i in range(skeleton.get_bone_count()):
skeleton.set_bone_global_pose_override(i, Transform3D(), 0.0, true)
skeleton.set_bone_pose_rotation(i, _bone_rest_local_rot.get(i, Quaternion.IDENTITY))
skeleton.set_bone_pose_position(i, _bone_rest_local_pos.get(i, Vector3.ZERO))
elif animation_player and animation_player.has_animation(target_anim):