PaulHax / spin-controls

Arcball style controls for three.js Object3Ds and Cameras. Featuring pointer to trackball accuracy and unlimited rotation.
https://paulhax.github.io/spin-controls/
MIT License
78 stars 12 forks source link

when i use camera pan it may interact with dolly controls #19

Closed Yty202020 closed 3 years ago

Yty202020 commented 3 years ago

https://user-images.githubusercontent.com/35088114/122936661-e9c40600-d3a3-11eb-9928-db3a46334755.mp4

when two fingers were close TOGETHER, to pan the camera, the scene will shake. But if the distance of the fingers were longer, things seemed to be OK.

PaulHax commented 3 years ago

Good find. 2+ fingers also zoom/dolly and "spin." Looks like some threshold/damping may be needed when fingers are close.

Yty202020 commented 3 years ago

copy that. i change lower the zoomSpeed = 0.4; The problem is solved. thanks alot