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
Thank you for your report.
I have checked it, and everything seems correct.
The moveTo() function adjusts the center position, while the dolly() function changes the distance to the center.
Please try using console.log(cameraControls.getTarget()) after calling moveTo(). It should return the correct position.
Describe the bug
moveTo moves to an incorrect position after dolly. please see the attached video.
To Reproduce
Steps to reproduce the behavior:
moveTo (3,5,2)
. Correctly moves to the right position.Reset
and click ondolly -1
a few times, and click onmoveTo (3,5,2)
again. the z position is not correct.Code
No response
Live example
No response
Expected behavior
Properly moves to the vector defined in
moveTo
regardless of dolly position.Screenshots or Video
CleanShot.2024-10-02.at.14.27.31.mp4
Device
Desktop
OS
MacOS
Browser
Chrome
The text was updated successfully, but these errors were encountered: