mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 19:49:50 +02:00
all hail pyogenics
This commit is contained in:
1 parent
c06c338536
commit
9fac6dd40d
1 file changed
+3
-3
@@ -178,14 +178,14 @@ export async function extractModel(data: string, path: string) {
|
|||||||
new Vector3().fromArray(component['tc.worldScale']),
|
new Vector3().fromArray(component['tc.worldScale']),
|
||||||
),
|
),
|
||||||
new Matrix4().compose(
|
new Matrix4().compose(
|
||||||
new Vector3().fromArray(component['tc.localTranslation']),
|
new Vector3().fromArray(),
|
||||||
new Quaternion().fromArray(component['tc.localRotation']),
|
new Quaternion().fromArray(),
|
||||||
new Vector3().fromArray(component['tc.localScale']),
|
new Vector3().fromArray(component['tc.localScale']),
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
.decompose(translation, rotation, scale);
|
.decompose(translation, rotation, scale);
|
||||||
|
|
||||||
node.setTranslation(translation.toArray());
|
node.setTranslation(component['tc.localTranslation']);
|
||||||
node.setRotation(rotation.toArray() as Vector4Tuple);
|
node.setRotation(rotation.toArray() as Vector4Tuple);
|
||||||
node.setScale(scale.toArray());
|
node.setScale(scale.toArray());
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user