-
I'm attempting to scene where the default perspective camera follows a landscape heightmap. I've done this in past with Threejs by setting the casting direction to shoot directly below the camera: let castOrigin = new THREE.Vector3(); Is there an equivalent in fiber? At the moment, my manual attempts to set the direction in useFrame() are overwritten by any mouse movement. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
you can use your own raycaster. the default raycaster is for pointerevents. |
Beta Was this translation helpful? Give feedback.
you can use your own raycaster. the default raycaster is for pointerevents.