From 9fac6dd40dccf9505c19c730fcf67e8728375169 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tr=C3=A8sAbhi?= <43380238+tresabhi@users.noreply.github.com> Date: Sun, 6 Apr 2025 15:53:23 -0500 Subject: [PATCH] all hail pyogenics --- packages/scripts/src/core/blitz/extractModel/index.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/scripts/src/core/blitz/extractModel/index.ts b/packages/scripts/src/core/blitz/extractModel/index.ts index e53941803..0922e971c 100644 --- a/packages/scripts/src/core/blitz/extractModel/index.ts +++ b/packages/scripts/src/core/blitz/extractModel/index.ts @@ -178,14 +178,14 @@ export async function extractModel(data: string, path: string) { new Vector3().fromArray(component['tc.worldScale']), ), new Matrix4().compose( - new Vector3().fromArray(component['tc.localTranslation']), - new Quaternion().fromArray(component['tc.localRotation']), + new Vector3().fromArray(), + new Quaternion().fromArray(), new Vector3().fromArray(component['tc.localScale']), ), ) .decompose(translation, rotation, scale); - node.setTranslation(translation.toArray()); + node.setTranslation(component['tc.localTranslation']); node.setRotation(rotation.toArray() as Vector4Tuple); node.setScale(scale.toArray());