@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/browser.js +4 -5
- 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 +4 -5
- package/dist/main.js.map +1 -1
- package/dist/module.js +4 -5
- package/dist/module.js.map +1 -1
- package/libs/physx.release.downgrade.js +30 -30
- package/libs/physx.release.js +1 -1
- package/libs/physx.release.wasm +0 -0
- 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);
|
|
@@ -1301,9 +1300,9 @@
|
|
|
1301
1300
|
}
|
|
1302
1301
|
}
|
|
1303
1302
|
if (runtimeMode == PhysXRuntimeMode.JavaScript) {
|
|
1304
|
-
script.src = "https://mdn.alipayobjects.com/rms/afts/file/A*
|
|
1303
|
+
script.src = "https://mdn.alipayobjects.com/rms/afts/file/A*PXxaQrGL0XsAAAAAAAAAAAAAARQnAQ/physx.release.downgrade.js";
|
|
1305
1304
|
} else if (runtimeMode == PhysXRuntimeMode.WebAssembly) {
|
|
1306
|
-
script.src = "https://mdn.alipayobjects.com/rms/afts/file/A*
|
|
1305
|
+
script.src = "https://mdn.alipayobjects.com/rms/afts/file/A*0Qq8Rob3_5oAAAAAAAAAAAAAARQnAQ/physx.release.js";
|
|
1307
1306
|
}
|
|
1308
1307
|
});
|
|
1309
1308
|
var initializePromise = new Promise(function(resolve, reject) {
|
|
@@ -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;
|