From 484eaf8db9f3b49ea6cce267738a127785699f99 Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Sat, 4 Apr 2026 15:54:35 +0200 Subject: [PATCH] Add CapsuleGeometry and update default player start collider settings --- src/viewport-three/viewport-host.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/viewport-three/viewport-host.ts b/src/viewport-three/viewport-host.ts index a990c18e..152f2bd0 100644 --- a/src/viewport-three/viewport-host.ts +++ b/src/viewport-three/viewport-host.ts @@ -3,6 +3,7 @@ import { AxesHelper, BoxGeometry, CanvasTexture, + CapsuleGeometry, ConeGeometry, CylinderGeometry, DirectionalLight, @@ -68,6 +69,9 @@ import { import type { WorldSettings } from "../document/world-settings"; import { DEFAULT_INTERACTABLE_RADIUS, + DEFAULT_PLAYER_START_BOX_SIZE, + DEFAULT_PLAYER_START_CAPSULE_HEIGHT, + DEFAULT_PLAYER_START_CAPSULE_RADIUS, DEFAULT_PLAYER_START_YAW_DEGREES, DEFAULT_POINT_LIGHT_DISTANCE, DEFAULT_SOUND_EMITTER_MAX_DISTANCE, @@ -77,9 +81,11 @@ import { DEFAULT_SPOT_LIGHT_DISTANCE, DEFAULT_TELEPORT_TARGET_YAW_DEGREES, DEFAULT_TRIGGER_VOLUME_SIZE, + getPlayerStartColliderHeight, getEntityInstances, normalizeYawDegrees, type EntityInstance, + type PlayerStartEntity, type PointLightEntity, type SpotLightEntity } from "../entities/entity-instances";