[libgdx] Fixed local transform being computed from an invalid world transform.

This commit is contained in:
Nathan Sweet 2025-05-19 20:17:00 -04:00
parent 3494954039
commit b3ed2ff16b

View File

@ -243,6 +243,7 @@ public class BonePose extends BoneLocal implements Update {
BonePose child = children[i].applied; BonePose child = children[i].applied;
if (child.world == update) { if (child.world == update) {
child.world = 0; child.world = 0;
child.local = 0;
child.resetWorld(update); child.resetWorld(update);
} }
} }