Replies: 2 comments 4 replies
-
you need something like onUpdate: () => { camera.updateProjectionMatrix() } in order for FOV tween to have any effect |
Beta Was this translation helpful? Give feedback.
1 reply
-
Basically, camera-controls controls camera-related params, if you use camera-controls. (like React ignores law DOM manipulations) If you wish to animate fov, try setting the fov via camera-controls's zoom. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is it possible to have something like FOV (I guess it's called Zoom in the camera-controls concept) and movement happen at the same time
e.g
I'm trying to perform a cinematic zoom while moving using the controlsRef
I could try updating the FOV directly, with say GSAP
However, it seems controls will ignore this, even if it runs simultaneously.
Beta Was this translation helpful? Give feedback.
All reactions