is there a simple way to limit the amount of rotation of a mesh? I have a throttle in my project and I have it setup so that I can click and drag it to rotate the lever on the x axis(Thanks to Wingnut and others in this forum).
I want to limit the amount that it can be rotated no matter how much the drag, but I am getting odd results. Is there a way that I can use a clamp to lock the rotation into a certain angle?
PS... to move the throttle, you click and drag from the cylinder objects on the left or right
http://www.babylonjs-playground.com/#2DHIAE#0
Thanks in advance