Search Unity

  1. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

Getting the absolute dimensions of rigidbody/collider2D

Discussion in 'Physics' started by greenLantern101, Jan 2, 2015.

  1. greenLantern101


    Jan 1, 2015
    So suppose I have a random polygon collider in 2D straight from a sprite. And then that polygon is maybe rotated a set number of degrees that I don't know exactly, because it may be based on physics. How do I find the dimensions of the smallest rectangular "box" needed to completely enclose that object?