Browse Source

Adding iterations settings to the world.

Raanan Weber 9 năm trước cách đây
mục cha
commit
b7965874f4
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/Physics/Plugins/babylon.oimoJSPlugin.ts

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

@@ -10,7 +10,7 @@ module BABYLON {
         }
 
         public initialize(iterations?: number): void {
-            this._world = new OIMO.World();
+            this._world = new OIMO.World(null, null, iterations);
             this._world.clear();
         }