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
Then repeat, and you can see the camera position keeps growing.
This doesn't seem the intended behavior.
There's also a separate sequence of presses where the camera stops moving at all, if you experiment, no matter how many times you hit moveTo(3,5,2) or moveTo(-5,2,1). Maybe I misunderstand this method, and this is expected.
--
On a related note, how to correctly move the camera for third person view of a moving character that updates each frame? Maybe could add this to the docs?
I tried: moveTo, setTarget, add the camera as a child of a target object, etc. still not really sure what's right. Thanks for this great library btw!
In some cases,
moveTo
moves to an incorrect position.Using this example,
https://yomotsu.github.io/camera-controls/examples/basic.html
Press the buttons:
Then repeat, and you can see the camera position keeps growing.
This doesn't seem the intended behavior.
There's also a separate sequence of presses where the camera stops moving at all, if you experiment, no matter how many times you hit moveTo(3,5,2) or moveTo(-5,2,1). Maybe I misunderstand this method, and this is expected.
--
On a related note, how to correctly move the camera for third person view of a moving character that updates each frame? Maybe could add this to the docs?
I tried:
moveTo
,setTarget
, add the camera as a child of a target object, etc. still not really sure what's right. Thanks for this great library btw!To Reproduce
Steps to reproduce the behavior:
Code
No response
Live example
No response
Expected behavior
target should move to coordinates described by the button
Screenshots or Video
No response
Device
Desktop
OS
Linux
Browser
Chrome
The text was updated successfully, but these errors were encountered: