Friday, 15 April 2022

React Three Fiber OrbitControls Initial zoom wider

I am working on this codesandbox to do practice with React Three Fiber.

My question with the demo is that i do not really understand how i can set the initial zoom way wider in OrbitControls in order that i can see more small stars?

This is the relevant code where i think i need to pass the zoom values

  <OrbitControls
    enableZoom={true}
    enablePan={true}
    enableRotate={true}
  />

I was digging in the official website to understand what is actually needed for OrbitControls to configure the initial zoom



from React Three Fiber OrbitControls Initial zoom wider

No comments:

Post a Comment