Zoom on R3F OrbitControls #1627
Unanswered
dpomazanov
asked this question in
Q&A
Replies: 1 comment
-
i think yes, but you need to consult orbitcontrols, they come from threejs. min/maxDistance if im reading this right https://threejs.org/docs/index.html?q=orbit#examples/en/controls/OrbitControls.maxDistance |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
using https://codesandbox.io/s/r3f-sky-dome-wbrfs from #665, the enableZoom={false} initially. If enableZoom={true}, it seems you are able to zoom out indefinitely. Is there a way to limit the max and min zoom?
Beta Was this translation helpful? Give feedback.
All reactions