@unegma/react-three-fpscontrols
v1.6.0
Published
React Three Fiber FPS Controls for mobile and desktop
Downloads
48
Readme
react-three-fpscontrols
React Three Fiber FPS Controls for mobile and desktop.
Based on https://codepen.io/ogames/pen/rNmYpdo
For example: https://codesandbox.io/s/demo-react-three-fpscontrols-rhfew3
Install
# install peerdeps
npm i react three @react-three/fiber @react-three/drei
# install fpscontrols
npm i react-three-fpscontrols
Use
You can copy the snippet from codesandbox, it's up-to-date there
License
MIT