I am rotating an image, and as it rotates I would like to get the position of the top, right, bottom and left most non transparent pixels in world/screen space, not local space.
All examples I see are aimed at physics. This is not for physics, but for placement of UI
It isn’t possible to do it externally as the image is of a circle. image files are always squares, so as it rotates the bounds get larger but the visible pixels stay as a circle.
What to do, what to do. Anything built in or am I doing some maths?
How about using one of the mask creators to create a mask, then do a bounds on the mask?