From f1ef5a37de9ebffcbc091d7faa589d3ca6842bd6 Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Mon, 11 May 2026 14:00:43 +0200 Subject: [PATCH] Pass rotation and scale when building runtime scene collections --- src/runtime-three/runtime-scene-build.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/runtime-three/runtime-scene-build.ts b/src/runtime-three/runtime-scene-build.ts index 2f7718c7..553a7d10 100644 --- a/src/runtime-three/runtime-scene-build.ts +++ b/src/runtime-three/runtime-scene-build.ts @@ -1737,6 +1737,7 @@ function buildRuntimeSceneCollections( authoredPosition: cloneVec3(entity.position), yawDegrees: entity.yawDegrees, authoredYawDegrees: entity.yawDegrees, + scale: cloneVec3(entity.scale), modelAssetId: entity.modelAssetId, dialogues: entity.dialogues.map(cloneProjectDialogue), defaultDialogueId: entity.defaultDialogueId, @@ -1764,6 +1765,7 @@ function buildRuntimeSceneCollections( runtimeEntities.triggerVolumes.push({ entityId: entity.id, position: cloneVec3(entity.position), + rotationDegrees: cloneVec3(entity.rotationDegrees), size: cloneVec3(entity.size), // Derive from links so flags are always correct regardless of stored entity state triggerOnEnter: Object.values(document.interactionLinks).some(