You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey, at first, thanks for building this great Three.js API for my favorite web framework. 馃檹
I started building with it a week ago and noticed something weird happening. Whenever I change any attribute (enabled, zoomSpeed, rotateSpeed, etc.) on the OrbitControls helper, the camera resets to its initial position. Initially I thought that's just how to underlying Three.js OrbitControls work but after I found no one else with the same issue online, I decided to to give the native OrbitControls a try. And et voila, the camera doesn't reset anymore.
So something in Threlte's OrbitControls helper seems to cause the reset. The issue is pretty easy to reproduce. Just go to the OrbitControls docs, rotate the camera and then change any of the provided settings, e.g. like zoomSpeed. The camera should reset.
Let me know if there's anything I can help with to get this fixed or maybe I'm missing something and this is the expected behaviour. :)
The text was updated successfully, but these errors were encountered:
Hey, at first, thanks for building this great Three.js API for my favorite web framework. 馃檹
I started building with it a week ago and noticed something weird happening. Whenever I change any attribute (enabled, zoomSpeed, rotateSpeed, etc.) on the OrbitControls helper, the camera resets to its initial position. Initially I thought that's just how to underlying Three.js OrbitControls work but after I found no one else with the same issue online, I decided to to give the native OrbitControls a try. And et voila, the camera doesn't reset anymore.
So something in Threlte's OrbitControls helper seems to cause the reset. The issue is pretty easy to reproduce. Just go to the OrbitControls docs, rotate the camera and then change any of the provided settings, e.g. like zoomSpeed. The camera should reset.
Let me know if there's anything I can help with to get this fixed or maybe I'm missing something and this is the expected behaviour. :)
The text was updated successfully, but these errors were encountered: