yomotsu / camera-controls

A camera control for three.js, similar to THREE.OrbitControls yet supports smooth transitions and more features.

Home Page:https://yomotsu.github.io/camera-controls/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to continue camera-controls based on the current camera position and perspective when enabled is set to true again, instead of returning to the position when enabled is set to false

zzcy opened this issue · comments

commented

Now I have a requirement to use camera-controls in the initial state A and set enabled camera controls to false when entering the B function. At this point, the camera will be controlled separately.
When I exit the B function, I will restore the enabled camera controls to true. At this point, I need them to stay at the current camera position and perspective, rather than returning to the camera position and perspective before I entered the B function (set the enabled camera controls to false).

commented

I found the answer on # 438
Thank you!