hey guys,
i have small … well, not really small … rather big problem.
I don’t know how to limit a rotation … say to 10 degrees, regardless how long a user presses they key assigned to rotate the object.
For example: How could i animate a piano key going down as long as the player presses a key and once the key is released, the key would go back up again?
I have goggled but didn’t find anything that would help me do this.
Any helpful info regarding constraining a rotation would help me a lot,
THANKS