npm.io
0.2.1 • Published 11 years ago

three-first-person-controls

Licence
MIT
Version
0.2.1
Deps
0
Vulns
0
Weekly
0
Stars
9

three-first-person-controls

Three.js first person controls, adapted from https://github.com/mrdoob/three.js/blob/master/examples/js/controls/FirstPersonControls.js

usage

npm install three-first-person-controls


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

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


// build your THREE.js scene


THREE.FirstPersonControls(cameraObject, domElement);

Keywords