update 'hitbox' property semantics

This commit is contained in:
MihailRis
2024-07-10 02:34:53 +03:00
parent 37f28a768c
commit 91230ecbeb
6 changed files with 7 additions and 6 deletions
+1 -1
View File
@@ -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;