Axis aligned bounding box used for collision detection.
More...
#include <components/AABBCollider.hpp>
|
|
float | offsetX = 0.f |
| | Box offset from the entity position on x.
|
| |
|
float | offsetY = 0.f |
| | Box offset from the entity position on y.
|
| |
|
float | width = 0.f |
| | Box width before scaling.
|
| |
|
float | height = 0.f |
| | Box height before scaling.
|
| |
|
std::uint32_t | layer = 1 |
| | Layers this collider belongs to.
|
| |
|
std::uint32_t | mask = 0xFFFFFFFF |
| | Layers this collider reacts to.
|
| |
|
bool | trigger = true |
| | Reports overlaps without physical response.
|
| |
Axis aligned bounding box used for collision detection.