add 'step-height' entity property

This commit is contained in:
MihailRis 2026-02-13 02:48:40 +03:00
parent 99106df230
commit 0f63fd64ed
5 changed files with 7 additions and 1 deletions

View file

@ -59,6 +59,7 @@ struct Hitbox {
bool grounded = false;
float gravityScale = 1.0f;
bool crouching = false;
float stepHeight = 0.5f;
Hitbox(BodyType type, glm::vec3 position, glm::vec3 halfsize);