From 447935699dd2195009635434330312fdcb930047 Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Mon, 13 Apr 2026 17:21:30 +0200 Subject: [PATCH] Add NPC collider settings and helper functions --- src/viewport-three/viewport-host.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/viewport-three/viewport-host.ts b/src/viewport-three/viewport-host.ts index b063205c..4bd1d6f8 100644 --- a/src/viewport-three/viewport-host.ts +++ b/src/viewport-three/viewport-host.ts @@ -90,6 +90,7 @@ import { } from "../document/world-settings"; import type { WorldSettings } from "../document/world-settings"; import { + createNpcColliderSettings, DEFAULT_INTERACTABLE_RADIUS, DEFAULT_NPC_YAW_DEGREES, DEFAULT_PLAYER_START_BOX_SIZE, @@ -107,10 +108,12 @@ import { DEFAULT_SPOT_LIGHT_DISTANCE, DEFAULT_TELEPORT_TARGET_YAW_DEGREES, DEFAULT_TRIGGER_VOLUME_SIZE, + getNpcColliderHeight, getPlayerStartColliderHeight, getEntityInstances, normalizeYawDegrees, type EntityInstance, + type NpcEntity, type PlayerStartEntity, type PointLightEntity, type SpotLightEntity