Blocks interacting on the world api
This commit is contained in:
@@ -49,6 +49,9 @@ export const PLAYER_EYE_HEIGHT = 1.69;
|
||||
export const PLAYER_SWIM_HEIGHT = 0.8;
|
||||
export const PLAYER_SWIM_EYE_HEIGHT = 0.6;
|
||||
|
||||
// the stages of cracks on a block being broken, 0 to this, each drawn with engine:break_<stage>
|
||||
export const BREAK_STAGES = 8;
|
||||
|
||||
// where a block placed against each face of another block goes
|
||||
export const FACE_OFFSETS: Record<Faces, { x: number; y: number; z: number }> = {
|
||||
top: { x: 0, y: 1, z: 0 },
|
||||
|
||||
Reference in New Issue
Block a user