@galacean/engine-core 2.0.0-alpha.18 → 2.0.0-alpha.19
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/main.js +98 -106
- package/dist/main.js.map +1 -1
- package/dist/module.js +98 -106
- package/dist/module.js.map +1 -1
- package/package.json +3 -3
- package/types/physics/PhysicsScene.d.ts +2 -6
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@galacean/engine-core",
|
|
3
|
-
"version": "2.0.0-alpha.
|
|
3
|
+
"version": "2.0.0-alpha.19",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"registry": "https://registry.npmjs.org"
|
|
@@ -18,10 +18,10 @@
|
|
|
18
18
|
"types/**/*"
|
|
19
19
|
],
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@galacean/engine-math": "2.0.0-alpha.
|
|
21
|
+
"@galacean/engine-math": "2.0.0-alpha.19"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
|
-
"@galacean/engine-design": "2.0.0-alpha.
|
|
24
|
+
"@galacean/engine-design": "2.0.0-alpha.19"
|
|
25
25
|
},
|
|
26
26
|
"scripts": {
|
|
27
27
|
"b:types": "tsc"
|
|
@@ -9,18 +9,13 @@ import { ColliderShape } from "./shape";
|
|
|
9
9
|
export declare class PhysicsScene {
|
|
10
10
|
private static _collision;
|
|
11
11
|
private static _identityQuaternion;
|
|
12
|
+
private static _scriptIndexSetter;
|
|
12
13
|
private _scene;
|
|
13
14
|
private _restTime;
|
|
14
15
|
private _fixedTimeStep;
|
|
15
16
|
private _colliders;
|
|
16
17
|
private _gravity;
|
|
17
18
|
private _nativePhysicsScene;
|
|
18
|
-
private _onContactEnter;
|
|
19
|
-
private _onContactExit;
|
|
20
|
-
private _onContactStay;
|
|
21
|
-
private _onTriggerEnter;
|
|
22
|
-
private _onTriggerExit;
|
|
23
|
-
private _onTriggerStay;
|
|
24
19
|
/**
|
|
25
20
|
* The gravity of physics scene.
|
|
26
21
|
*/
|
|
@@ -269,6 +264,7 @@ export declare class PhysicsScene {
|
|
|
269
264
|
* @returns The collider shapes overlapping with the capsule
|
|
270
265
|
*/
|
|
271
266
|
overlapCapsuleAll(center: Vector3, radius: number, height: number, orientation?: Quaternion, layerMask?: Layer, shapes?: ColliderShape[]): ColliderShape[];
|
|
267
|
+
private _dispatchEvents;
|
|
272
268
|
private _setGravity;
|
|
273
269
|
private _createPreFilter;
|
|
274
270
|
private _createHitCallback;
|