I got stuck on trying to clamp rotation values on stream the other day. After some much appreciated brain storming with some very smart people and a week end of drawing circles on napkins as I tried to visualize for myself how I could fix the issue, I got a version of a rotation clamp working and wanted to share in case anyone else has this issue in the future.
Any feedback, fixes, improvements, ect. is appreciated, I just hope this video will save someone else a week end of frustration.
You can find the code I used so far here:
https://drive.google.com/file/d/14cwF...
0:00 - Introduction
0:58 - The Issue
2:47 - Disclaimer / The Code
3:23 - The Thinking