|
@@ -47,7 +47,7 @@ THREE.MMDPhysics = ( function () {
|
|
|
this.maxStepNum = ( params.maxStepNum !== undefined ) ? params.maxStepNum : 3;
|
|
|
this.gravity = new THREE.Vector3( 0, - 9.8 * 10, 0 );
|
|
|
|
|
|
- if ( params.gravity !== undefined ) this.gravity.copy( gravity );
|
|
|
+ if ( params.gravity !== undefined ) this.gravity.copy( params.gravity );
|
|
|
|
|
|
this.world = params.world !== undefined ? params.world : null; // experimental
|
|
|
|