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);
             }
         }