I don’t want to limit rotation on X axis, I want to be able to rotate by 360 degrees but I want to limit the distance of rotation.
In reality, the red dot isn’t actually centered, it’s on the edge, but you get the idea.
I don’t want to limit rotation on X axis, I want to be able to rotate by 360 degrees but I want to limit the distance of rotation.
In reality, the red dot isn’t actually centered, it’s on the edge, but you get the idea.
Hi!
Are you looking for .minDistance
/ .maxDistance
?
Certainly not.
I mean, technically, you are correct, but my desired effect is still different. Looking for a shortcut to avoid min/maxDistance actually.
I solved my issue by setting up an object and targeting my controls to it, whilst changing maxDistance, which is updated on every click event.
Hi, I’m facing this kind of problem, I can’t understand your explanation, is it possible that you can share your code here? that would be a huge help.