Right now, this script allows me to rotate an object clockwise or counterclockwise by holding the “E” or “R” keys. How would I limit the rotation so the object can only go as far clockwise as 10 and as far the other way as -10?
Right now, this script allows me to rotate an object clockwise or counterclockwise by holding the “E” or “R” keys. How would I limit the rotation so the object can only go as far clockwise as 10 and as far the other way as -10?