Blocks interacting on the world api

This commit is contained in:
2026-10-15 12:49:44 -03:00
parent 7faa070d83
commit b43e8fe8b8
15 changed files with 493 additions and 28 deletions
+3
View File
@@ -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 },