Skip to content

Commit

Permalink
Fixed root child position correction
Browse files Browse the repository at this point in the history
MarcusLongmuir committed Jan 21, 2024
1 parent 2e2d277 commit 11f0b63
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -53,7 +53,7 @@ export const rotateRootCorrectionStep: Step = {
if (asBone.isBone) {
const tempPosY = asBone.position.y;
asBone.position.y = asBone.position.z;
asBone.position.z = tempPosY;
asBone.position.z = -tempPosY;

const [x, y, z, w] = asBone.quaternion.toArray();
asBone.quaternion.set(x, -y, -z, w);

0 comments on commit 11f0b63

Please sign in to comment.