collisionBox GetCollisionBox() const/ETHEntity

Returns the unscaled collision box of this entity. If the entity hasn't been set as collidable in the Entity Editor this method will return a box without volume.

if (entity.Collidable())
{
    collisionBox box = entity.GetCollisionBox();

    const vector3 boxRelativePos = box.pos;
    const vector3 boxSize = box.size;
}

Warning! This method always returns the original collision box size and position, disregarding the entity scale or the current scene global scaling factor.