Using OrbitControls
with PerspectiveCamera
#406
Unanswered
chrisjsewell
asked this question in
Q&A
Replies: 1 comment
-
You can add the camera where ever you want. If you give it a makeDefault prop it's gonna be the default camera. |
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
-
Apologies if this is a newb question, but I can't seem to get
OrbitControls
to work withPerspectiveCamera
. Take a simple scene like:(which works fine)
I would like to add a
PerspectiveCamera
, in the first instance to change the FoV.However, from https://github.com/pmndrs/drei#perspectivecamera and https://github.com/pmndrs/drei#controls, it is unclear to me what the hierarchy should be to add a
PerspectiveCamera
?Everything I try seems to deactivate the controls.
`
Beta Was this translation helpful? Give feedback.
All reactions