From b8ac03fda5abdc590f9bc4f7e836128c76d2bc86 Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Mon, 11 May 2026 21:54:52 +0200 Subject: [PATCH] Update document migration to include NPC target anchor settings and types --- src/document/migrate-scene-document.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/document/migrate-scene-document.ts b/src/document/migrate-scene-document.ts index ab3f7136..c40f4808 100644 --- a/src/document/migrate-scene-document.ts +++ b/src/document/migrate-scene-document.ts @@ -35,12 +35,15 @@ import { DEFAULT_PLAYER_START_INTERACTION_REACH_METERS, DEFAULT_PLAYER_START_KEYBOARD_BINDINGS, DEFAULT_NPC_SCALE, + DEFAULT_NPC_TARGET_ANCHOR_MODE, + DEFAULT_NPC_TARGET_ANCHOR_OFFSET, DEFAULT_NPC_TARGETABLE, DEFAULT_PLAYER_START_TARGET_BUTTON_CYCLES_ACTIVE_TARGET, DEFAULT_TRIGGER_VOLUME_ROTATION_DEGREES, createNpcAlwaysPresence, - createNpcEntity, createNpcColliderSettings, + createNpcEntity, + createNpcTargetAnchor, createNpcTimeWindowPresence, createPlayerStartColliderSettings, createPlayerStartInputBindings, @@ -50,6 +53,7 @@ import { isCameraRigTargetKind, isCameraRigTransitionMode, isNpcPresenceMode, + isNpcTargetAnchorMode, normalizeEntityName, createPointLightEntity, createPlayerStartEntity, @@ -69,6 +73,7 @@ import { isPlayerStartNavigationMode, type EntityInstance, type NpcPresence, + type NpcTargetAnchor, type PlayerStartGamepadActionBinding, type PlayerStartGamepadBinding, type PlayerStartGamepadCameraLookBinding,