Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

aframe-fps-look-controls-component

Package Overview
Dependencies
Maintainers
2
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aframe-fps-look-controls-component

Move the mouse to look around, without needing to hold the button down.

  • 1.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
26
decreased by-3.7%
Maintainers
2
Weekly downloads
 
Created
Source

aframe-fps-look-controls-component

Version License

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

PropertyDescriptionDefault Value
user-heightHow much height to add to the camera1.6

Installation

Browser

Install and use by directly including the browser files:

<head>
  <title>My A-Frame Scene</title>
  <script src="https://aframe.io/releases/0.6.0/aframe.min.js"></script>
  <script src="https://unpkg.com/aframe-fps-look-controls-component/dist/aframe-fps-look-controls-component.min.js"></script>
</head>

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

Install via npm:

npm install aframe-fps-look-controls-component

Then require and use.

require('aframe');
require('aframe-fps-look-controls-component');

Keywords

FAQs

Package last updated on 06 Jan 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc