Explorar o código

Remove useless constant

Temechon %!s(int64=11) %!d(string=hai) anos
pai
achega
4020ba23db
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;
                 }
             }