Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

three-fly-controls

mathisonian283MIT2.0.0

three.js fly controls module

threejs, first, person, fly, controls, keyboard, mouse, three.js, three

readme

three-fly-controls

Three.js fly controls, adapted from http://threejs.org/examples/js/controls/FlyControls.js

usage

npm install three-fly-controls

`js

var THREE = require('three.js');

// Add the plugin require('three-fly-controls')(THREE);

// build your THREE.js scene

THREE.FlyControls(cameraObject, domElement);