diff --git a/src/viewport-three/viewport-host.ts b/src/viewport-three/viewport-host.ts index 9730dff1..7c9115c2 100644 --- a/src/viewport-three/viewport-host.ts +++ b/src/viewport-three/viewport-host.ts @@ -707,6 +707,10 @@ export class ViewportHost { private currentWorld: WorldSettings | null = null; private currentSimulationScene: RuntimeSceneDefinition | null = null; private currentSimulationClock: RuntimeClockState | null = null; + private readonly simulationInteractableEnabledById = new Map< + string, + boolean + >(); private currentCelestialShadowCaster: "sun" | "moon" | null = null; private currentAdvancedRenderingSettings: AdvancedRenderingSettings | null = null; diff --git a/tests/serialization/scene-document-json.test.ts b/tests/serialization/scene-document-json.test.ts index 870c9cf5..906fde9c 100644 --- a/tests/serialization/scene-document-json.test.ts +++ b/tests/serialization/scene-document-json.test.ts @@ -38,7 +38,7 @@ import { PLAYER_START_AIR_CONTROL_SCENE_DOCUMENT_VERSION, PLAYER_START_AIR_DIRECTION_CONTROL_SCENE_DOCUMENT_VERSION, PLAYER_START_COLLIDER_SETTINGS_SCENE_DOCUMENT_VERSION, - PLAYER_START_INTERACT_BINDINGS_SCENE_DOCUMENT_VERSION, + PLAYER_START_INTERACTION_ANGLE_SCENE_DOCUMENT_VERSION, PLAYER_START_INPUT_BINDINGS_SCENE_DOCUMENT_VERSION, PLAYER_START_MOVEMENT_TEMPLATE_SCENE_DOCUMENT_VERSION, PLAYER_START_NAVIGATION_MODE_SCENE_DOCUMENT_VERSION,