Open diemildefreude opened 3 months ago
Sorry for the delay, and thank you for your detailed report and the helpful demo.
Actually, it is a known problem. Currently, the camera controls cannot completely separate the smoothTime
and draggingSmoothTime
...
Describe the bug
@yomotsu 素敵なツールを作ってくれてありがとうございます。
cameraControls.smoothTime defaults to 0.25. You can set it to higher values for slower transitions of dollyInFixed in infinite dolly mode. But if, at any time, you use a pinch motion on mobile to move forwards or backwards, and then call dollyInFixed, the transition will execute with a smoothTime of 0.25, even if you try to set it again to a higher value.
This is happening on Android on a Samsung Galaxy A21 in both Firefox and the Samsung 'Internet' browser.
It doesn't happen on desktop.
To Reproduce
Steps to reproduce the behavior:
The code is below. It's just the infinite dolly example with two lines changed.
Code
Live example
https://somanyfaces.in/dollybug
Expected behavior
I would expect smoothTime to apply to dollyInFixed all the time, even if there are user touch motions beforehand. I'd like to use dollyInFixed for auto movement when the user is idle.
Screenshots or Video
No response
Device
Mobile
OS
Android
Browser
Firefox