@galacean/engine-physics-physx 2.0.0-alpha.41 → 2.0.0-alpha.43

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.
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@galacean/engine-physics-physx",
3
- "version": "2.0.0-alpha.41",
3
+ "version": "2.0.0-alpha.43",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"
@@ -27,11 +27,11 @@
27
27
  "types/**/*"
28
28
  ],
29
29
  "devDependencies": {
30
- "@galacean/engine-design": "2.0.0-alpha.41",
31
- "@galacean/engine": "2.0.0-alpha.41"
30
+ "@galacean/engine-design": "2.0.0-alpha.43",
31
+ "@galacean/engine": "2.0.0-alpha.43"
32
32
  },
33
33
  "peerDependencies": {
34
- "@galacean/engine": "2.0.0-alpha.41"
34
+ "@galacean/engine": "2.0.0-alpha.43"
35
35
  },
36
36
  "scripts": {
37
37
  "b:types": "tsc"
@@ -87,18 +87,14 @@ export declare class PhysXDynamicCollider extends PhysXCollider implements IDyna
87
87
  * {@inheritDoc IDynamicCollider.setSolverIterations }
88
88
  */
89
89
  setSolverIterations(value: number): void;
90
- /**
91
- * {@inheritDoc IDynamicCollider.setCollisionDetectionMode }
92
- */
93
- setCollisionDetectionMode(value: number): void;
94
90
  /**
95
91
  * {@inheritDoc IDynamicCollider.setUseGravity }
96
92
  */
97
93
  setUseGravity(value: boolean): void;
98
94
  /**
99
- * {@inheritDoc IDynamicCollider.setIsKinematic }
95
+ * {@inheritDoc IDynamicCollider.setMotionState }
100
96
  */
101
- setIsKinematic(value: boolean): void;
97
+ setMotionState(isKinematic: boolean, collisionDetectionMode: number): void;
102
98
  /**
103
99
  * {@inheritDoc IDynamicCollider.setConstraints }
104
100
  */
@@ -57,6 +57,10 @@ export declare class PhysXPhysicsScene implements IPhysicsScene {
57
57
  * {@inheritDoc IPhysicsScene.update }
58
58
  */
59
59
  update(elapsedTime: number): void;
60
+ /**
61
+ * {@inheritDoc IPhysicsScene.setContactEventEnabled }
62
+ */
63
+ setContactEventEnabled(enabled: boolean): void;
60
64
  /**
61
65
  * {@inheritDoc IPhysicsScene.updateEvents }
62
66
  */