aframe-fps-look-controls-component
A-Frame component to enable first-person shooter (FPS)-style mouse looking: move the mouse to look around, without needing to hold the button down.
Heavily based on prior art by @cemkod.
API
Property | Description | Default Value |
---|---|---|
user-height | How much height to add to the camera | 1.6 |
Installation
Browser
Install and use by directly including the browser files:
My A-Frame Scene
npm
Install via npm:
npm install aframe-fps-look-controls-component
Then require and use.
;;