Swimming
This commit is contained in:
@@ -36,6 +36,9 @@ export const CHUNK_AREA = CHUNK_SIZE * CHUNK_SIZE;
|
||||
export const PLAYER_WIDTH = 0.6;
|
||||
export const PLAYER_HEIGHT = 1.79;
|
||||
export const PLAYER_EYE_HEIGHT = 1.69;
|
||||
// while swimming they lie flat in a shorter box, like voxelibre's, so they fit through 1 block gaps
|
||||
export const PLAYER_SWIM_HEIGHT = 0.8;
|
||||
export const PLAYER_SWIM_EYE_HEIGHT = 0.6;
|
||||
|
||||
// where a block placed against each face of another block goes
|
||||
export const FACE_OFFSETS: Record<Faces, { x: number; y: number; z: number }> = {
|
||||
|
||||
Reference in New Issue
Block a user