laya.physics3D.runtime.js 361 B

12345678910
  1. window.Physics3D = function(initialMemory, interactive) {
  2. window.conch.setGetWorldTransformFunction(interactive.getWorldTransform);
  3. window.conch.setSetWorldTransformFunction(interactive.setWorldTransform);
  4. var conchBullet = window.layaConchBullet;
  5. conchBullet.then = (complete) => {
  6. complete();
  7. };
  8. window.Physics3D = conchBullet;
  9. return conchBullet;
  10. };