I add the orbit-controls component to my a-entity camera with maxDistance = 12 like this:
orbit-controls="autoRotate: true; autoRotateSpeed: 0.3; target: 0.0 1.5 0.0; minDistance: 0.5; maxDistance: 12; initialPosition: 0 2 12"
The restriction works as long as I am dollying or panning but when I rotate and release the button it is set to 180, as I could see by adding console logs to OrbitControls.js.
I add the orbit-controls component to my a-entity camera with maxDistance = 12 like this:
orbit-controls="autoRotate: true; autoRotateSpeed: 0.3; target: 0.0 1.5 0.0; minDistance: 0.5; maxDistance: 12; initialPosition: 0 2 12"
The restriction works as long as I am dollying or panning but when I rotate and release the button it is set to 180, as I could see by adding console logs to OrbitControls.js.
Occured in firefox on windows 10 desktop.