@galacean/engine-physics-lite 1.6.13 → 2.0.0-alpha.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/browser.js +6 -1
- 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 +6 -1
- package/dist/main.js.map +1 -1
- package/dist/module.js +6 -1
- package/dist/module.js.map +1 -1
- package/package.json +4 -4
- package/types/LitePhysics.d.ts +5 -1
package/dist/module.js
CHANGED
|
@@ -1330,6 +1330,11 @@ var LitePhysics = /*#__PURE__*/ function() {
|
|
|
1330
1330
|
throw new Error("Physics-lite doesn't support CapsuleColliderShape. Use Physics-PhysX instead!");
|
|
1331
1331
|
};
|
|
1332
1332
|
/**
|
|
1333
|
+
* {@inheritDoc IPhysics.createMeshColliderShape }
|
|
1334
|
+
*/ _proto.createMeshColliderShape = function createMeshColliderShape(uniqueID, vertices, vertexCount, indices, isConvex, material) {
|
|
1335
|
+
throw new Error("Physics-lite doesn't support MeshColliderShape. Use Physics-PhysX instead!");
|
|
1336
|
+
};
|
|
1337
|
+
/**
|
|
1333
1338
|
* {@inheritDoc IPhysics.createFixedJoint }
|
|
1334
1339
|
*/ _proto.createFixedJoint = function createFixedJoint(collider) {
|
|
1335
1340
|
throw new Error("Physics-lite doesn't support FixedJoint. Use Physics-PhysX instead!");
|
|
@@ -1385,7 +1390,7 @@ var LitePhysics = /*#__PURE__*/ function() {
|
|
|
1385
1390
|
}();
|
|
1386
1391
|
|
|
1387
1392
|
//@ts-ignore
|
|
1388
|
-
var version = "
|
|
1393
|
+
var version = "2.0.0-alpha.0";
|
|
1389
1394
|
console.log("Galacean Engine Physics Lite Version: " + version);
|
|
1390
1395
|
|
|
1391
1396
|
export { LitePhysics, version };
|