0.3.0 • Published 1 year ago
@unegma/react-three-mobile-controls v0.3.0
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
0.3.0
1 year ago