@galacean/engine-design 0.0.0-experimental-2.0-game.13 → 0.0.0-experimental-2.0-game.14
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@galacean/engine-design",
|
|
3
|
-
"version": "0.0.0-experimental-2.0-game.
|
|
3
|
+
"version": "0.0.0-experimental-2.0-game.14",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"registry": "https://registry.npmjs.org"
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
],
|
|
18
18
|
"types": "types/index.d.ts",
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@galacean/engine-math": "0.0.0-experimental-2.0-game.
|
|
20
|
+
"@galacean/engine-math": "0.0.0-experimental-2.0-game.14"
|
|
21
21
|
},
|
|
22
22
|
"scripts": {
|
|
23
23
|
"b:types": "tsc"
|
|
@@ -26,6 +26,14 @@ export interface IPhysics {
|
|
|
26
26
|
* @param physicsManager - The physics manager
|
|
27
27
|
*/
|
|
28
28
|
createPhysicsScene(physicsManager: IPhysicsManager): IPhysicsScene;
|
|
29
|
+
/**
|
|
30
|
+
* Get the default contact offset for collider shapes.
|
|
31
|
+
*/
|
|
32
|
+
getDefaultContactOffset?(): number;
|
|
33
|
+
/**
|
|
34
|
+
* Get the default sleep threshold for dynamic colliders.
|
|
35
|
+
*/
|
|
36
|
+
getDefaultSleepThreshold?(): number;
|
|
29
37
|
/**
|
|
30
38
|
* Create dynamic collider.
|
|
31
39
|
* @param position - The global position
|