Box collider top in world space

Is there a way to get the top of a box collider in world space as a float or Vector3?

The highest point of a collider should be Collider.bounds.max.y, regardless of how it is rotated.

6 Likes