I’m working on a pretty insane pin wheel type image display UI. Photos are loaded in from XML and as they load in I am placing them a fixed radius away from the center point within a clip. Mouse movement controls whether or not to rotate the container clockwise/counter clockwise. The issue is adding some constraints to that.
I’m trying to check for things like _rotation > 270 or _rotation < 180 etc.
Maybe I’m going about this wrong but I basically don’t understand how the _rotation property works from 0-180 and then snapping to -180 to 0. Any insight is appreciated.