-
Notifications
You must be signed in to change notification settings - Fork 723
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OrbitControls zoom does not work with expo #2067
Comments
|
so should i use a |
In three.js, the concept of controls and cameras are separate, where controls modify a camera, which is just the view transform. R3F already created a perspective camera for you, although you can tailor one with Drei's |
I've created a PR in |
three
version: 0.167.1@react-three/fiber
version: 8.17.5@react-three/drei
version: 9.109.5node
version: v20.15.0yarn
version: 1.22.22expo
version: ~51.0.26expo-gl
version: ^14.0.2Problem description:
when i use the zoom feature in OrbitControls it causes my 3d model to disappear from the screen. when i disable it
OrbitControls
works just fine, what i'm trying to accomplish is to zoom on each part of the model when i click or double click on it and show a short description.Relevant code:
The text was updated successfully, but these errors were encountered: