Update serialization version for interaction angles and track interactable state in viewport host

This commit is contained in:
2026-04-27 15:43:58 +02:00
parent 785759f74f
commit e331e94715
2 changed files with 5 additions and 1 deletions

View File

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

View File

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