@recast-navigation/core 0.24.1 → 0.25.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/crowd.d.ts +7 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/dist/raw.d.ts +2 -0
- package/package.json +3 -3
package/dist/crowd.d.ts
CHANGED
|
@@ -96,7 +96,13 @@ export declare class CrowdAgent implements CrowdAgentParams {
|
|
|
96
96
|
* @param position The new target position.
|
|
97
97
|
* @returns True if the request was successful.
|
|
98
98
|
*/
|
|
99
|
-
|
|
99
|
+
requestMoveTarget(position: Vector3): boolean;
|
|
100
|
+
/**
|
|
101
|
+
* Submits a new move request for the specified agent.
|
|
102
|
+
* @param velocity The desired velocity of the agent.
|
|
103
|
+
* @returns True if the request was successful.
|
|
104
|
+
*/
|
|
105
|
+
requestMoveVelocity(velocity: Vector3): boolean;
|
|
100
106
|
/**
|
|
101
107
|
* Resets the current move request for the specified agent.
|
|
102
108
|
*/
|