mirror of
https://github.com/wahyd4/three.js.git
synced 2026-08-09 04:56:01 +10:00
Merge remote-tracking branch 'zz85/master' into dev
This commit is contained in:
@@ -171,7 +171,12 @@ THREE.FirstPersonControls = function ( object, domElement ) {
|
||||
|
||||
this.update = function( delta ) {
|
||||
var actualMoveSpeed = 0;
|
||||
if ( !this.freeze ) {
|
||||
|
||||
if ( this.freeze ) {
|
||||
|
||||
return;
|
||||
|
||||
} else {
|
||||
|
||||
if ( this.heightSpeed ) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user