Browse Source

Update babylon.physicsEngine.ts

Missing function.
Raanan Weber 9 years ago
parent
commit
0c98eeaea1
1 changed files with 4 additions and 0 deletions
  1. 4 0
      src/Physics/babylon.physicsEngine.ts

+ 4 - 0
src/Physics/babylon.physicsEngine.ts

@@ -90,6 +90,10 @@
         public getPhysicsBodyOfMesh(mesh: AbstractMesh) {
             return this._currentPlugin.getPhysicsBodyOfMesh(mesh);
         }
+        
+        public getWorldObject() {
+            return this._currentPlugin.getWorldObject();
+        }
 
         // Statics
         public static NoImpostor = 0;