Update eye height to use default constant

This commit is contained in:
2026-04-04 15:55:19 +02:00
parent acf9a457c6
commit a2805c16fe

View File

@@ -72,6 +72,7 @@ import {
DEFAULT_PLAYER_START_BOX_SIZE,
DEFAULT_PLAYER_START_CAPSULE_HEIGHT,
DEFAULT_PLAYER_START_CAPSULE_RADIUS,
DEFAULT_PLAYER_START_EYE_HEIGHT,
DEFAULT_PLAYER_START_YAW_DEGREES,
DEFAULT_POINT_LIGHT_DISTANCE,
DEFAULT_SOUND_EMITTER_MAX_DISTANCE,
@@ -2953,7 +2954,7 @@ export class ViewportHost {
DEFAULT_PLAYER_START_YAW_DEGREES,
{
mode: "capsule",
eyeHeight: 1.6,
eyeHeight: DEFAULT_PLAYER_START_EYE_HEIGHT,
capsuleRadius: DEFAULT_PLAYER_START_CAPSULE_RADIUS,
capsuleHeight: DEFAULT_PLAYER_START_CAPSULE_HEIGHT,
boxSize: DEFAULT_PLAYER_START_BOX_SIZE