mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-08 20:41:49 +00:00
add solid entities (wip)
This commit is contained in:
parent
3cd6ce1df2
commit
0a34f9b767
7 changed files with 158 additions and 116 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue