Trevor Baron 6 年之前
父节点
当前提交
93f234efa0
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/Physics/Plugins/babylon.ammoJSPlugin.ts

+ 1 - 1
src/Physics/Plugins/babylon.ammoJSPlugin.ts

@@ -323,7 +323,7 @@ module BABYLON {
          * @param impostorJoint the imposter joint to remove the joint from
          */
         public removeJoint(impostorJoint: PhysicsImpostorJoint) {
-            if(this.world){
+            if (this.world) {
                 this.world.removeConstraint(impostorJoint.joint.physicsJoint);
             }
         }