提交 082c0986 编写于 作者: T Takahiro 提交者: Mr.doob

Revert unitStep of MMDPhysics (#10033)

上级 3ce254f6
......@@ -26,7 +26,13 @@ THREE.MMDPhysics = function ( mesh, params ) {
this.mesh = mesh;
this.helper = new THREE.MMDPhysics.ResourceHelper();
this.unitStep = ( params.unitStep !== undefined ) ? params.unitStep : 1 / 60;
/*
* I don't know why but 1/60 unitStep easily breaks models
* so I set it 1/65 so far.
* Don't set too small unitStep because
* the smaller unitStep can make the performance worse.
*/
this.unitStep = ( params.unitStep !== undefined ) ? params.unitStep : 1 / 65;
this.maxStepNum = ( params.maxStepNum !== undefined ) ? params.maxStepNum : 3;
this.world = null;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册