Security News
ESLint is Now Language-Agnostic: Linting JSON, Markdown, and Beyond
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
aframe-4dof-controls-component
Advanced tools
A 4dof Controls component for A-Frame.
For A-Frame.
Property | Description | Default Value |
---|---|---|
events | List of events to redirect to the target element. | |
length | Maximum length to move the target element | 2 |
maxAngle | Maximum angle to rotate on Z | 115 |
minAngle | Minimum angle to rotate on Z | 0 |
target | Selector for the target element, if not defined it will default to the first child of the element. |
Install and use by directly including the browser files:
<head>
<title>My A-Frame Scene</title>
<script src="https://aframe.io/releases/0.7.0/aframe.min.js"></script>
<script src="https://unpkg.com/aframe-4dof-controls-component/dist/aframe-4dof-controls-component.min.js"></script>
</head>
<body>
<a-scene>
<a-entity daydream-controls gearvr-controls 4dof-controls>
<a-entity><!-- hand --></a-entity>
</a-entity>
</a-scene>
</body>
Install via npm:
npm install aframe-4dof-controls-component
Then require and use.
require('aframe');
require('aframe-4dof-controls-component');
FAQs
A 4dof Controls component for A-Frame.
The npm package aframe-4dof-controls-component receives a total of 0 weekly downloads. As such, aframe-4dof-controls-component popularity was classified as not popular.
We found that aframe-4dof-controls-component demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
Security News
Members Hub is conducting large-scale campaigns to artificially boost Discord server metrics, undermining community trust and platform integrity.
Security News
NIST has failed to meet its self-imposed deadline of clearing the NVD's backlog by the end of the fiscal year. Meanwhile, CVE's awaiting analysis have increased by 33% since June.