[LayaAir 2.0]引擎这一句是不是疏忽了?

    /**
    *清除应用到刚体上的所有力。
    */
    __proto.clearForces=function(){
        var rigidBody=this._nativeColliderObject;
        if (rigidBody==null)
            throw "Attempted to call a Physics function that is avaliable only when the Entity has been already added to the Scene.";
        rigidBody.clearForces();
        var nativeZero=Rigidbody3D._nativeVector3Zero;
        rigidBody.setInterpolationAngularVelocity(nativeZero);
        rigidBody.setLinearVelocity(nativeZero);
        rigidBody.setInterpolationAngularVelocity(nativeZero);
        rigidBody.setAngularVelocity(nativeZero);
    } 
 
在这里看到有两个setInterpolationAngularVelocity
第一个应该是setInterpolationLinearVelocity
微信图片_20190614113216.png
已邀请:

Aar0n

赞同来自:

感谢反馈,先手动把上面那行改成线速度吧,我们已经改好,下个版本修复

要回复问题请先

商务合作
商务合作