-
-
Notifications
You must be signed in to change notification settings - Fork 36.1k
Closed
Labels
Description
Description
Hi Three Team -
Just ran across this and am not sure if it's an issue or not. I have an app that uses both ortho and perspective cameras along with OrbitControls. I have the OrbitControls update() in my render loop because I am using dampening. I also have an event listener or the change event of OrbitControls.
When I'm in perspective camera, I see the change event being fired only when I'm actually orbiting around the scene. In orthographic mode I see it firing every time the render loop calls update().
Maybe this is by design and part of how ortho cameras need to work. Just though I'd let you know.
Reproduction steps
- Create a scene and add orthographic and perspective cameras. Add the orbit controls.
- Add an event handler on the change event for OrbitControls.
- Swap between the two cameras and watch it fire constantly when in orthographic mode, and only when the orbit controls are firing when in perspective.
Code
// code goes hereLive example
Screenshots
No response
Version
0.158
Device
Desktop
Browser
Chrome
OS
MacOS