update : put every constante in the data folder
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
export const PLAYER_EYE_HEIGHT = 1.75;
|
||||
export const PLAYER_CAPSULE_RADIUS = 0.35;
|
||||
|
||||
export const PLAYER_WALK_SPEED = 11;
|
||||
export const PLAYER_AIR_CONTROL_FACTOR = 0.35;
|
||||
export const PLAYER_JUMP_SPEED = 9;
|
||||
export const PLAYER_GRAVITY = 30;
|
||||
export const PLAYER_MAX_DELTA = 0.05;
|
||||
export const PLAYER_ACCELERATION_MULTIPLIER = 9;
|
||||
export const PLAYER_XZ_DAMPING_FACTOR = 8;
|
||||
|
||||
export const PLAYER_SPAWN_X = 0;
|
||||
export const PLAYER_SPAWN_Z = 0;
|
||||
export const PLAYER_SPAWN_Y_DEFAULT = 100;
|
||||
export const PLAYER_SPAWN_Y_GAME = 100;
|
||||
export const PLAYER_SPAWN_Y_PHYSICS = 3;
|
||||
Reference in New Issue
Block a user