@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/browser.js
CHANGED
|
@@ -1334,6 +1334,11 @@
|
|
|
1334
1334
|
throw new Error("Physics-lite doesn't support CapsuleColliderShape. Use Physics-PhysX instead!");
|
|
1335
1335
|
};
|
|
1336
1336
|
/**
|
|
1337
|
+
* {@inheritDoc IPhysics.createMeshColliderShape }
|
|
1338
|
+
*/ _proto.createMeshColliderShape = function createMeshColliderShape(uniqueID, vertices, vertexCount, indices, isConvex, material) {
|
|
1339
|
+
throw new Error("Physics-lite doesn't support MeshColliderShape. Use Physics-PhysX instead!");
|
|
1340
|
+
};
|
|
1341
|
+
/**
|
|
1337
1342
|
* {@inheritDoc IPhysics.createFixedJoint }
|
|
1338
1343
|
*/ _proto.createFixedJoint = function createFixedJoint(collider) {
|
|
1339
1344
|
throw new Error("Physics-lite doesn't support FixedJoint. Use Physics-PhysX instead!");
|
|
@@ -1389,7 +1394,7 @@
|
|
|
1389
1394
|
}();
|
|
1390
1395
|
|
|
1391
1396
|
//@ts-ignore
|
|
1392
|
-
var version = "
|
|
1397
|
+
var version = "2.0.0-alpha.0";
|
|
1393
1398
|
console.log("Galacean Engine Physics Lite Version: " + version);
|
|
1394
1399
|
|
|
1395
1400
|
exports.LitePhysics = LitePhysics;
|