Merge pull request #222 from karelpak1/Position-fix

This commit is contained in:
TrèsAbhi authored and GitHub committed 2026-03-23 19:56:17 -05:00
commit 7b93b12fcb
1 file changed
+1
@@ -170,6 +170,7 @@ export async function extractModel(vfs: AbstractVFS, path: string) {
break;
case "TransformComponent": {
component["tc.localTranslation"] = [0, 0, 0]; // Game when is loading model resets position to [0, 0, 0], so any set value is ignored.
node.setTranslation(component["tc.localTranslation"]);
node.setRotation(component["tc.localRotation"]);
node.setScale(component["tc.localScale"]);