Skip to content

A component for A-Frame VR that facilitates controlling entity rotation directly with captured mouse.

License

Notifications You must be signed in to change notification settings

cemkod/aframe-fps-look-component

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

aframe-fps-look-component

A component for A-Frame VR that facilitates controlling entity rotation directly with captured mouse. Includes Core HMD Controls, so can be used as a drop in replacement to look-controls component.

Usage

Install.

npm install aframe-fps-look-component

Register.

AFrame = require('aframe-core');
AFrame.registerComponent('fps-look-controls', require('aframe-fps-look-component').component);

Use.

<a-scene>
  <a-entity camera fps-look-controls></a-entity>
</a-scene>

Properties

Property Description Default Value
enabled true
sensitivity 1

About

A component for A-Frame VR that facilitates controlling entity rotation directly with captured mouse.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%