You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Im using r3f-native library which works as charm, but the thing is that I want to change the camera to orthographic instead of Perspective but gets me the following error:
Error: The camera must be a PerspectiveCamera to orbit controls work
Im using r3f-native library which works as charm, but the thing is that I want to change the camera to orthographic instead of Perspective but gets me the following error:
Error: The camera must be a PerspectiveCamera to orbit controls work
Here is my code:
<Canvas orthographic camera={{ zoom: 50, position: [0, 0, 100] }}>
<pointLight position={[10, 10, 10]} />
{*
*}
Thanks!:)
The text was updated successfully, but these errors were encountered: