From ac905d24fb4164060d06204134a625ba9946029a Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Sat, 4 Apr 2026 15:56:01 +0200 Subject: [PATCH] Add function to describe player start collider mode --- src/app/App.tsx | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/app/App.tsx b/src/app/App.tsx index 3001b5bd..0d1014f8 100644 --- a/src/app/App.tsx +++ b/src/app/App.tsx @@ -242,6 +242,17 @@ function getModelInstanceCollisionModeDescription(mode: ModelInstanceCollisionMo } } +function getPlayerStartColliderModeDescription(mode: PlayerStartColliderMode): string { + switch (mode) { + case "capsule": + return "Uses a capsule player collider for standard grounded first-person traversal."; + case "box": + return "Uses an axis-aligned box player collider for sharper footprint bounds."; + case "none": + return "Disables player collision detection. First-person traversal continues without world clipping."; + } +} + const STARTER_MATERIAL_ORDER = new Map(STARTER_MATERIAL_LIBRARY.map((material, index) => [material.id, index])); const MIN_VIEWPORT_QUAD_SPLIT = 0.2; const MAX_VIEWPORT_QUAD_SPLIT = 0.8;