Trevor Baron 6 лет назад
Родитель
Сommit
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);
             }
         }