Hi i have a simple issue that i cant work out here is what i am trying to do.
I want to tell unity to snap an object to nearest right angle, so 89 degrees should snap to 90, 179 degrees should snap to 180, so the object can only ever be orientated in intervals of 90 degrees.
Help appreciated.