mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 03:21: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
|
|
@ -42,6 +42,9 @@ struct EntityDef {
|
|||
/// @brief Does entity prevent blocks setup
|
||||
bool blocking = true;
|
||||
|
||||
/// @brief Is the entity solid (blocks other entities)
|
||||
bool solid = false;
|
||||
|
||||
/// @brief Max obstacle height that does not require jumping
|
||||
float stepHeight = 0.5f;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue