From 077207ca275a8cf02e6ea2243714edb85aaaa536 Mon Sep 17 00:00:00 2001 From: bmathews Date: Sat, 15 Nov 2025 14:57:14 -0800 Subject: [PATCH] Fix rotation --- src/mission.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mission.ts b/src/mission.ts index ed2dd39f..d812ea19 100644 --- a/src/mission.ts +++ b/src/mission.ts @@ -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(