Quantcast
Channel: Questions in topic: "extents"
Viewing all articles
Browse latest Browse all 18

how to obtain collider extents?

$
0
0

I have some box colliders and I need to know the min and max Vector3 positions that define each cube in world coordinates. Is there a ready made function or must I make my own by calculating the extents from the transform.position and the collider.size?

thanks


Viewing all articles
Browse latest Browse all 18

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>