cervus
cervus copied to clipboard
Bounding box
The Render
component should expose a method to calculate the bounding box of the entity.
It might make sense to abstract this operation so that Colliders can also calculate their bounding boxes. That might be a good follow-up.
See also: https://docs.unity3d.com/ScriptReference/Bounds.html