Question by
volga_chen · Jul 28, 2017 at 01:33 PM ·
boundsboundingbox
How could I get a bounding box which is not aligned to the world coordinates?
My task now is to find out the minimum enclosing rectangle of an object on the screen. I think the way to solve this problem is to find the bounding box which has a surface perpendicular to the direction of the camera. But the bound attribution could only provide the bounding box aligned to the world coordinates. I'd like to know if there is a solution to get the bounding box with any given direction?
Comment
Your answer
Follow this Question
Related Questions
How to put an object on top of another growing object? 0 Answers
Easy way to Resize Bounding Box without resizing sprite 1 Answer
Changing a SpriteRenderer's Bounds 0 Answers
Given volume dimensions and direction, how to determine if Vector3 is contained 2 Answers
Collider.size of a rotated object 0 Answers