Update eye height to use default constant
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user