mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 20:11:50 +00:00
add 'step-height' entity property
This commit is contained in:
parent
99106df230
commit
0f63fd64ed
5 changed files with 7 additions and 1 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue