Replies: 1 comment 2 replies
-
const raycaster = useThree(state => state.raycaster)
if (mesh) {
const b = raycaster.intersectObject(mesh)
} |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Using raycaster.intersectObject into any object throws this error. I have another app with an older version of three-fiber which runs intersectObject fine and am trying to build a new app with new version of three-fiber, threejs etc, so I reckon something broke when updating?
Beta Was this translation helpful? Give feedback.
All reactions