Add paths functionality to scene document and related components

This commit is contained in:
2026-04-13 21:19:30 +02:00
parent 94dfc1be1e
commit 0eac096de5
12 changed files with 753 additions and 28 deletions

View File

@@ -1348,9 +1348,10 @@ export function createNpcEntity(
| "actorId"
| "yawDegrees"
| "modelAssetId"
| "collider"
>
> = {}
> & {
collider?: Partial<NpcColliderSettings>;
} = {}
): NpcEntity {
const position = cloneVec3(overrides.position ?? DEFAULT_ENTITY_POSITION);
const actorId = normalizeNpcActorId(overrides.actorId);