mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-09 04:51:49 +00:00
fix extended blocks collision detection
This commit is contained in:
parent
0a34f9b767
commit
c8e884009b
5 changed files with 40 additions and 26 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue