Kaynağa Gözat

Update babylon.physicsEngine.ts

Missing function.
Raanan Weber 9 yıl önce
ebeveyn
işleme
0c98eeaea1
1 değiştirilmiş dosya ile 4 ekleme ve 0 silme
  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;