superframe
superframe copied to clipboard
[orbit-controls] minAzimuthAngle and maxAzimuthAngle is not limiting the rotation
I was trying to get the similar effect as shown in this link:
https://cloud.withgoogle.com/infrastructure/explore/step-2
Thus I need to control the horizontal rotation. But when I tried to set minAzimuthAngle: 0, and maxAzimuthAngle: 1, nothing happened. I can still freely rotate horizontally. Below is a code link remixed from glitch.
https://glitch.com/edit/#!/ahead-belly?path=index.html:25:127
Appreciated! Thanks! @ngokevin
The same over here :(. This issue may have something to do with the npm package been outdated.