Bläddra i källkod

Merge pull request #1431 from abow/master

fix for oimojs plugin world scale issue
David Catuhe 8 år sedan
förälder
incheckning
c7ded3d7e5
1 ändrade filer med 1 tillägg och 0 borttagningar
  1. 1 0
      src/Physics/Plugins/babylon.oimoJSPlugin.ts

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

@@ -8,6 +8,7 @@ module BABYLON {
 
         constructor(iterations?: number) {
             this.world = new OIMO.World(1 / 60, 2, iterations, true);
+            this.world.worldscale(1);
             this.world.clear();
             //making sure no stats are calculated
             this.world.isNoStat = true;