cubos::engine::ColliderBundle struct

Bundle that packs the components for a Collider entity.

Adds Collider, CollisionLayers and CollisionMask.

A CollisionShape must be added separately.

Public variables

bool isArea
Whether the Collider is an Area.
bool isStatic
Whether the Collider is Static.
bool isActive
Whether the collider is active.
uint32_t layers
Layers of the collider.
uint32_t mask
Mask of layers which the collider can collide with.