mirror of
https://github.com/exogen/t2-mapper.git
synced 2026-03-06 05:50:34 +00:00
Fix rotation
This commit is contained in:
parent
44883be6c6
commit
077207ca27
1 changed files with 1 additions and 1 deletions
|
|
@ -238,7 +238,7 @@ export function getRotation(obj: ConsoleObject, isInterior = false) {
|
|||
new Vector3(0, 1, 0),
|
||||
Math.PI / 2
|
||||
);
|
||||
return coordSystemFix.multiply(sourceRotation);
|
||||
return sourceRotation.multiply(coordSystemFix);
|
||||
} else {
|
||||
// For other objects (terrain, etc)
|
||||
return new Quaternion().setFromAxisAngle(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue