add solid entities (wip)

This commit is contained in:
MihailRis 2026-02-23 17:34:24 +03:00
parent 3cd6ce1df2
commit 0a34f9b767
7 changed files with 158 additions and 116 deletions

View file

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