mercuryus ~translated:
You are looking for the distance from the center a model for their own BoundingBox?
Oriented or with free angle (because even a bounding box is a cuboid)?
Oriented: min_x, max_x, min_y, max_y (after c_setminmax or c_updatehull)
With free angle is somewhat complicated ...
Or are you looking for the distance from the center of a model to the BoundingBox ANOTHER entities?
critical point!? "With free angle is somewhat complicated ..."
Quoting Loopix.
I could easyly achieve the same by making the model non-passable and calling and event trough event_impact...
If the system works as designed(?; no bugs in engine?), set bbox detector entity's push lower than player entity's push, ENABLE_PUSH, and set event function for the detector, c_move IGNORE_PUSH, then check EVENT_PUSH with optional skill id in that event function!?
(Entities with lower push values are pseudo-passable !?)