0.2.1 • Published 9 years ago

three-first-person-controls v0.2.1

Weekly downloads
11
License
MIT
Repository
github
Last release
9 years ago

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);