@galacean/engine-physics-physx 1.4.0-alpha.2 → 1.4.0-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/module.js CHANGED
@@ -522,21 +522,11 @@ PhysXCollider._tempTransform = {
522
522
  }
523
523
  var _proto = PhysXDynamicCollider.prototype;
524
524
  /**
525
- * {@inheritDoc IDynamicCollider.getLinearDamping }
526
- */ _proto.getLinearDamping = function getLinearDamping() {
527
- return this._pxActor.getLinearDamping();
528
- };
529
- /**
530
525
  * {@inheritDoc IDynamicCollider.setLinearDamping }
531
526
  */ _proto.setLinearDamping = function setLinearDamping(value) {
532
527
  this._pxActor.setLinearDamping(value);
533
528
  };
534
529
  /**
535
- * {@inheritDoc IDynamicCollider.getAngularDamping }
536
- */ _proto.getAngularDamping = function getAngularDamping() {
537
- return this._pxActor.getAngularDamping();
538
- };
539
- /**
540
530
  * {@inheritDoc IDynamicCollider.setAngularDamping }
541
531
  */ _proto.setAngularDamping = function setAngularDamping(value) {
542
532
  this._pxActor.setAngularDamping(value);
@@ -602,11 +592,6 @@ PhysXCollider._tempTransform = {
602
592
  this._pxActor.setMaxAngularVelocity(MathUtil.degreeToRadian(value));
603
593
  };
604
594
  /**
605
- * {@inheritDoc IDynamicCollider.getMaxDepenetrationVelocity }
606
- */ _proto.getMaxDepenetrationVelocity = function getMaxDepenetrationVelocity() {
607
- return this._pxActor.getMaxDepenetrationVelocity();
608
- };
609
- /**
610
595
  * {@inheritDoc IDynamicCollider.setMaxDepenetrationVelocity }
611
596
  */ _proto.setMaxDepenetrationVelocity = function setMaxDepenetrationVelocity(value) {
612
597
  this._pxActor.setMaxDepenetrationVelocity(value);
@@ -1312,9 +1297,9 @@ PhysXHingeJoint._xAxis = new Vector3(1, 0, 0);
1312
1297
  }
1313
1298
  }
1314
1299
  if (runtimeMode == PhysXRuntimeMode.JavaScript) {
1315
- script.src = "https://mdn.alipayobjects.com/rms/afts/file/A*rnDeR58NNGoAAAAAAAAAAAAAARQnAQ/physx.release.js.js";
1300
+ script.src = "https://mdn.alipayobjects.com/rms/afts/file/A*CfV8RrDQk5oAAAAAAAAAAAAAARQnAQ/physx.release.downgrade.js";
1316
1301
  } else if (runtimeMode == PhysXRuntimeMode.WebAssembly) {
1317
- script.src = "https://mdn.alipayobjects.com/rms/afts/file/A*04GyRKeSJw4AAAAAAAAAAAAAARQnAQ/physx.release.js";
1302
+ script.src = "https://mdn.alipayobjects.com/rms/afts/file/A*ZDDgR4ERdfwAAAAAAAAAAAAAARQnAQ/physx.release.js";
1318
1303
  }
1319
1304
  });
1320
1305
  var initializePromise = new Promise(function(resolve, reject) {
@@ -1422,7 +1407,7 @@ PhysXHingeJoint._xAxis = new Vector3(1, 0, 0);
1422
1407
  }();
1423
1408
 
1424
1409
  //@ts-ignore
1425
- var version = "1.4.0-alpha.2";
1410
+ var version = "1.4.0-beta.0";
1426
1411
  console.log("Galacean PhysX version: " + version);
1427
1412
 
1428
1413
  export { PhysXPhysics, PhysXRuntimeMode, version };