From a56d4e4af90acf1bf17116d2047e1264cba36b96 Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Mon, 13 Apr 2026 23:53:24 +0200 Subject: [PATCH] Export buildRuntimeNpcCollider function and update parameter type --- src/runtime-three/runtime-scene-build.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/runtime-three/runtime-scene-build.ts b/src/runtime-three/runtime-scene-build.ts index 2fc1eac8..dbc30af9 100644 --- a/src/runtime-three/runtime-scene-build.ts +++ b/src/runtime-three/runtime-scene-build.ts @@ -614,7 +614,9 @@ function getColliderBounds(collider: RuntimeSceneCollider): GeneratedColliderBou }; } -function buildRuntimeNpcCollider(npc: RuntimeNpc): RuntimeNpcCollider | null { +export function buildRuntimeNpcCollider( + npc: RuntimeNpc | RuntimeNpcDefinition +): RuntimeNpcCollider | null { if (npc.collider.mode === "none") { return null; }