Przeglądaj źródła

Remove useless constant

Temechon 11 lat temu
rodzic
commit
4020ba23db
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      Babylon/Physics/Plugins/babylon.oimoJSPlugin.ts

+ 1 - 1
Babylon/Physics/Plugins/babylon.oimoJSPlugin.ts

@@ -203,7 +203,7 @@ module BABYLON {
             for (var index = 0; index < this._registeredMeshes.length; index++) {
                 var registeredMesh = this._registeredMeshes[index];
                 if (registeredMesh.mesh === mesh || registeredMesh.mesh === mesh.parent) {
-                    registeredMesh.body.body.applyImpulse(contactPoint.scale(OIMO.INV_SCALE), force.scale(OIMO.INV_SCALE * 0.01));
+                    registeredMesh.body.body.applyImpulse(contactPoint.scale(OIMO.INV_SCALE), force.scale(OIMO.INV_SCALE));
                     return;
                 }
             }