-
-
Notifications
You must be signed in to change notification settings - Fork 263
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
set position bugged after 1.37.5 #345
Comments
Thanks for the code. It was helpful. Actually both camera-controls/src/CameraControls.ts Lines 1909 to 1950 in 2014f46
Thus, you are overwriting the first one with the second one. Therefore, |
setPosition worked perfectly combined with setTarget in 1.37.5 so I though it was a bug. 😄 |
TBH...I thought so... |
thx |
Describe the bug
Hi
Tried to create sample showing setPosition is broken after 1.37.5
To Reproduce
See animated gifs
Live example
https://codesandbox.io/s/musing-mccarthy-zqneho?file=/src/index.js
You can switch between version here
Expected behavior
To use correct position and target, not using the offset its doing now after 1.37.5
Screenshots or Video
Bugged behavior
Bugged: I save 4 target/positions, but when I move camera, it stays in same position and not the one I saved
Expected behavior
Device
Desktop
OS
Windows
Browser
Chrome
The text was updated successfully, but these errors were encountered: