fix extended blocks collision detection

This commit is contained in:
MihailRis 2026-02-23 18:44:32 +03:00
parent 0a34f9b767
commit c8e884009b
5 changed files with 40 additions and 26 deletions

View file

@ -57,6 +57,7 @@ struct Hitbox {
float friction = 1.0f;
float verticalDamping = 1.0f;
bool grounded = false;
bool collided[3] {};
float gravityScale = 1.0f;
bool crouching = false;
float stepHeight = 0.5f;