Fix rotation

This commit is contained in:
bmathews 2025-11-15 14:57:14 -08:00
parent 44883be6c6
commit 077207ca27

View file

@ -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(