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
Trying use both components (GizmoHelper and CameraControls) along gives an error while clicking on gizmo's cube (Gizmo with other components like OrbitControls, Perspective Camera works fine):
ERROR
Cannot use 'in' operator to search for 'minPolarAngle' in null
TypeError: Cannot use 'in' operator to search for 'minPolarAngle' in null
at isOrbitControls (http://localhost:3000/static/js/bundle.js:44459:26)
at Object.current (http://localhost:3000/static/js/bundle.js:44508:15)
at render$1 (http://localhost:3000/static/js/bundle.js:46735:22)
at loop (http://localhost:3000/static/js/bundle.js:46764:19)
GizmoHelper.js:18 Uncaught TypeError: Cannot use 'in' operator to search for 'minPolarAngle' in null
at isOrbitControls (GizmoHelper.js:18:1)
at Object.current (GizmoHelper.js:67:1)
at render$1 (index-c636ef6d.esm.js:1542:1)
at loop (index-c636ef6d.esm.js:1571:1)
When trying to set makedefault then getting different error while cliking on gizmo cube:
Uncaught TypeError: Cannot read properties of undefined (reading 'x')
at Vector3.add (three.module.js:3930:1)
at Object.current (GizmoHelper.js:75:1)
at render$1 (index-c636ef6d.esm.js:1542:1)
at loop (index-c636ef6d.esm.js:1571:1)
"three": "^0.163.0",
"@react-three/fiber": "^8.16.2",
"@react-three/drei": "^9.105.4",
Problem description:
Trying use both components (GizmoHelper and CameraControls) along gives an error while clicking on gizmo's cube (Gizmo with other components like OrbitControls, Perspective Camera works fine):
When trying to set makedefault then getting different error while cliking on gizmo cube:
code:
https://codesandbox.io/p/sandbox/cameracontrols-basic-sew669?file=%2Fsrc%2FApp.js%3A119%2C5-119%2C12
The text was updated successfully, but these errors were encountered: