Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Camera controls for threejs - Pointerlock with y axis
JavaScript
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
README.md
SmoothControls.js

README.md

SmoothControls - REAL SMOOOOTH

Camera controls for threejs - Pointerlock with y axis

...
var clock = new THREE.Clock();
var controls = this.controls = new THREE.SmoothControls( camera );
controls.enabled = false;
controls.movementSpeed = 1000;
controls.lookSpeed = 0.125;
animate: function(){
    ...
    this.controls.update( clock.getDelta() );
    ...
}
Something went wrong with that request. Please try again.