@galacean/engine-core 1.4.4 → 1.4.6

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-core",
3
- "version": "1.4.4",
3
+ "version": "1.4.6",
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": "1.4.4"
21
+ "@galacean/engine-math": "1.4.6"
22
22
  },
23
23
  "devDependencies": {
24
- "@galacean/engine-design": "1.4.4"
24
+ "@galacean/engine-design": "1.4.6"
25
25
  },
26
26
  "scripts": {
27
27
  "b:types": "tsc"
package/types/Entity.d.ts CHANGED
@@ -120,7 +120,7 @@ export declare class Entity extends EngineObject {
120
120
  findByName(name: string): Entity;
121
121
  /**
122
122
  * Find the entity by path.
123
- * @param path - The path fo the entity eg: /entity
123
+ * @param path - The path of the entity eg: /entity
124
124
  * @returns The component which be found
125
125
  */
126
126
  findByPath(path: string): Entity;
@@ -4,6 +4,8 @@ import { Collider } from "./Collider";
4
4
  * A dynamic collider can act with self-defined movement or physical force.
5
5
  */
6
6
  export declare class DynamicCollider extends Collider {
7
+ private static _tempVector3;
8
+ private static _tempQuat;
7
9
  private _linearDamping;
8
10
  private _angularDamping;
9
11
  private _linearVelocity;
@@ -9,6 +9,8 @@ import { Collider } from "../Collider";
9
9
  */
10
10
  export declare abstract class Joint extends Component {
11
11
  private static _tempVector3;
12
+ private static _tempQuat;
13
+ private static _tempMatrix;
12
14
  protected _colliderInfo: JointColliderInfo;
13
15
  protected _connectedColliderInfo: JointColliderInfo;
14
16
  protected _nativeJoint: IJoint;
@@ -74,5 +76,6 @@ export declare abstract class Joint extends Component {
74
76
  private _handleConnectedAnchorChanged;
75
77
  private _onSelfTransformChanged;
76
78
  private _onConnectedTransformChanged;
79
+ private _updateRotation;
77
80
  private _updateActualAnchor;
78
81
  }