Browse Source

Update babylon.physicsEngine.ts

Missing function.
Raanan Weber 9 năm trước cách đây
mục cha
commit
0c98eeaea1

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

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