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

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
@@ -1101,7 +1101,6 @@ PhysXJoint._defaultQuat = new Quaternion();
1101
1101
  var xAxis = PhysXHingeJoint._xAxis;
1102
1102
  var axisRotationQuaternion = this._axisRotationQuaternion;
1103
1103
  xAxis.set(1, 0, 0);
1104
- value.normalize();
1105
1104
  var angle = Math.acos(Vector3.dot(xAxis, value));
1106
1105
  Vector3.cross(xAxis, value, xAxis);
1107
1106
  Quaternion.rotationAxisAngle(xAxis, angle, axisRotationQuaternion);
@@ -1297,9 +1296,9 @@ PhysXHingeJoint._xAxis = new Vector3(1, 0, 0);
1297
1296
  }
1298
1297
  }
1299
1298
  if (runtimeMode == PhysXRuntimeMode.JavaScript) {
1300
- script.src = "https://mdn.alipayobjects.com/rms/afts/file/A*CfV8RrDQk5oAAAAAAAAAAAAAARQnAQ/physx.release.downgrade.js";
1299
+ script.src = "https://mdn.alipayobjects.com/rms/afts/file/A*PXxaQrGL0XsAAAAAAAAAAAAAARQnAQ/physx.release.downgrade.js";
1301
1300
  } else if (runtimeMode == PhysXRuntimeMode.WebAssembly) {
1302
- script.src = "https://mdn.alipayobjects.com/rms/afts/file/A*ZDDgR4ERdfwAAAAAAAAAAAAAARQnAQ/physx.release.js";
1301
+ script.src = "https://mdn.alipayobjects.com/rms/afts/file/A*0Qq8Rob3_5oAAAAAAAAAAAAAARQnAQ/physx.release.js";
1303
1302
  }
1304
1303
  });
1305
1304
  var initializePromise = new Promise(function(resolve, reject) {
@@ -1407,8 +1406,8 @@ PhysXHingeJoint._xAxis = new Vector3(1, 0, 0);
1407
1406
  }();
1408
1407
 
1409
1408
  //@ts-ignore
1410
- var version = "1.4.0-beta.2";
1411
- console.log("Galacean PhysX version: " + version);
1409
+ var version = "1.4.1";
1410
+ console.log("Galacean Engine Physics PhysX Version: " + version);
1412
1411
 
1413
1412
  export { PhysXPhysics, PhysXRuntimeMode, version };
1414
1413
  //# sourceMappingURL=module.js.map