PointerLockControls
The implementation of this class is based on the Pointer Lock API. PointerLockControls is a perfect choice for first person 3D games.
import { PointerLockControls } from '@react-three/drei'
;<PointerLockControls />
The implementation of this class is based on the Pointer Lock API. PointerLockControls is a perfect choice for first person 3D games.
import { PointerLockControls } from '@react-three/drei'
;<PointerLockControls />