mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
update 'hitbox' property semantics
This commit is contained in:
parent
37f28a768c
commit
91230ecbeb
6 changed files with 7 additions and 6 deletions
|
|
@ -20,7 +20,7 @@ struct EntityDef {
|
|||
std::vector<std::string> components;
|
||||
|
||||
BodyType bodyType = BodyType::DYNAMIC;
|
||||
glm::vec3 hitbox {0.5f};
|
||||
glm::vec3 hitbox {0.25f};
|
||||
std::vector<std::pair<size_t, AABB>> boxSensors {};
|
||||
std::vector<std::pair<size_t, float>> radialSensors {};
|
||||
std::string rigName = name;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue