Better block models !

This commit is contained in:
2026-10-03 15:57:47 -03:00
parent ecc0295f6d
commit 24fe7cdede
23 changed files with 678 additions and 122 deletions
+1 -1
View File
@@ -127,7 +127,7 @@ export abstract class Entity {
// falls and moves by its velocity for one tick (see move_body), then slows down from drag and friction
move() {
const is_solid = (x: number, y: number, z: number) => this.level.has_collision(x, y, z);
const is_solid = (x: number, y: number, z: number) => this.level.collision_shape(x, y, z);
const can_step = this.#air_ticks <= this.step_grace_ticks && this.vy <= 0;
const friction = this.horizontal_friction();
const collisions = move_body(this, this.gravity, is_solid, this.step_height, can_step);