Browse Source

unneeded function

Raanan Weber 7 years ago
parent
commit
87e500aadf
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/Physics/Plugins/babylon.oimoJSPlugin.ts

+ 2 - 2
src/Physics/Plugins/babylon.oimoJSPlugin.ts

@@ -343,13 +343,13 @@ module BABYLON {
             body.awake();
         }
 
-        private _getLastShape(body: any): any {
+        /*private _getLastShape(body: any): any {
             var lastShape = body.shapes;
             while (lastShape.next) {
                 lastShape = lastShape.next;
             }
             return lastShape;
-        }
+        }*/
 
         public setLinearVelocity(impostor: PhysicsImpostor, velocity: Vector3) {
             impostor.physicsBody.linearVelocity.init(velocity.x, velocity.y, velocity.z);