@galacean/engine-physics-physx 1.4.0 → 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/browser.js +2 -3
- package/dist/browser.js.map +1 -1
- package/dist/browser.min.js +1 -1
- package/dist/browser.min.js.map +1 -1
- package/dist/main.js +2 -3
- package/dist/main.js.map +1 -1
- package/dist/module.js +2 -3
- package/dist/module.js.map +1 -1
- package/package.json +4 -4
package/dist/browser.js
CHANGED
|
@@ -1105,7 +1105,6 @@
|
|
|
1105
1105
|
var xAxis = PhysXHingeJoint._xAxis;
|
|
1106
1106
|
var axisRotationQuaternion = this._axisRotationQuaternion;
|
|
1107
1107
|
xAxis.set(1, 0, 0);
|
|
1108
|
-
value.normalize();
|
|
1109
1108
|
var angle = Math.acos(engine.Vector3.dot(xAxis, value));
|
|
1110
1109
|
engine.Vector3.cross(xAxis, value, xAxis);
|
|
1111
1110
|
engine.Quaternion.rotationAxisAngle(xAxis, angle, axisRotationQuaternion);
|
|
@@ -1411,8 +1410,8 @@
|
|
|
1411
1410
|
}();
|
|
1412
1411
|
|
|
1413
1412
|
//@ts-ignore
|
|
1414
|
-
var version = "1.4.
|
|
1415
|
-
console.log("Galacean PhysX
|
|
1413
|
+
var version = "1.4.1";
|
|
1414
|
+
console.log("Galacean Engine Physics PhysX Version: " + version);
|
|
1416
1415
|
|
|
1417
1416
|
exports.PhysXPhysics = PhysXPhysics;
|
|
1418
1417
|
exports.PhysXRuntimeMode = PhysXRuntimeMode;
|