浏览代码

Not yet using the npm package

Raanan Weber 7 年之前
父节点
当前提交
e11cf3089b
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/Physics/Plugins/babylon.oimoJSPlugin.ts

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

@@ -10,7 +10,7 @@ module BABYLON {
 
 
         constructor(iterations?: number) {
-            this.BJSOIMO = typeof OIMO !== 'undefined' ? OIMO : (typeof require !== 'undefined' ? require('oimo') : undefined);
+            this.BJSOIMO = typeof OIMO !== 'undefined' ? OIMO : (typeof require !== 'undefined' ? require('./Oimo') : undefined);
             this.world = new this.BJSOIMO.World({
                 iterations: iterations
             });