mirror of
https://github.com/exogen/t2-mapper.git
synced 2026-01-19 20:25:01 +00:00
Fix rotation
This commit is contained in:
parent
44883be6c6
commit
077207ca27
|
|
@ -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…
Reference in a new issue