Raanan Weber 7 лет назад
Родитель
Сommit
87e500aadf
1 измененных файлов с 2 добавлено и 2 удалено
  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);