diff --git a/src/runtime-three/runtime-scene-build.ts b/src/runtime-three/runtime-scene-build.ts index fd85d4ea..98ec4e1a 100644 --- a/src/runtime-three/runtime-scene-build.ts +++ b/src/runtime-three/runtime-scene-build.ts @@ -1280,8 +1280,7 @@ function buildRuntimeSceneCollections( soundEmitters: [], triggerVolumes: [], teleportTargets: [], - interactables: [], - sceneExits: [] + interactables: [] }; const localLights: RuntimeLocalLightCollection = { pointLights: [], @@ -1400,17 +1399,6 @@ function buildRuntimeSceneCollections( interactionEnabled: entity.interactionEnabled }); break; - case "sceneExit": - runtimeEntities.sceneExits.push({ - entityId: entity.id, - position: cloneVec3(entity.position), - radius: entity.radius, - prompt: entity.prompt, - interactionEnabled: entity.interactionEnabled, - targetSceneId: entity.targetSceneId, - targetEntryEntityId: entity.targetEntryEntityId - }); - break; default: assertNever(entity); }