babylonjs-addons 8.53.0 → 8.53.1

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.
@@ -184,7 +184,7 @@ declare module ADDONS {
184
184
  */
185
185
  type?: ComputePathErrorType;
186
186
  /**
187
- * Statusring describing the error.
187
+ * Status describing the error.
188
188
  */
189
189
  status?: number;
190
190
  };
@@ -255,7 +255,7 @@ declare module ADDONS {
255
255
  /**
256
256
  * Intermediates generated during the navmesh creation
257
257
  * @remarks This is used for debugging and visualization purposes.
258
- * @remarks You have access to vertices, indices and vertex colors to visusalize the navmesh creation process.
258
+ * @remarks You have access to vertices, indices and vertex colors to visualize the navmesh creation process.
259
259
  * @remarks This is only available if the `keepIntermediates` parameter is set
260
260
  * @remarks to true during navmesh generation.
261
261
  */
@@ -459,9 +459,10 @@ declare module ADDONS {
459
459
  maxStraightPathPoints?: number;
460
460
  }): BABYLON.Vector3[];
461
461
  /**
462
- * Creates a navigation mesh - will be injected by the factory
463
- * @param start the start position of the navmesh
464
- * @param end the end position of the navmesh
462
+ * Compute a navigation path from start to end. Returns an empty array if no path can be computed.
463
+ * Path follows navigation mesh geometry.
464
+ * @param start world position
465
+ * @param end world position
465
466
  * @param options options to configure the path computation
466
467
  * @returns array containing world position composing the path
467
468
  */
@@ -586,9 +587,9 @@ declare module ADDONS {
586
587
  };
587
588
  /**
588
589
  * Compute the final position from a segment made of destination-position, and return the height of the polygon
589
- * This is a more sophisiticated version of moveAlong that will use the height of the polygon at the end position
590
+ * This is a more sophisticated version of moveAlong that will use the height of the polygon at the end position
590
591
  * @param position world position to start from
591
- * @param velocity wvelocity of the movement
592
+ * @param velocity velocity of the movement
592
593
  * @param options options for the function
593
594
  * @returns the resulting point along the navmesh, the polygon reference id and the height of the polygon
594
595
  */
@@ -678,11 +679,11 @@ declare module ADDONS {
678
679
  */
679
680
  onReachTargetObservable: BABYLON.Observable<{
680
681
  /**
681
- *
682
+ * The index of the agent that reached its target
682
683
  */
683
684
  agentIndex: number;
684
685
  /**
685
- *
686
+ * The destination that the agent reached
686
687
  */
687
688
  destination: BABYLON.Vector3;
688
689
  }>;
@@ -1314,15 +1315,15 @@ declare module ADDONS {
1314
1315
  */
1315
1316
  export function CreateTileCacheNavMeshConfig(parameters: INavMeshParametersV2): Partial<any>;
1316
1317
  /**
1317
- * Convert IAgentParameters to Recast any
1318
- * @param config Agent parameters
1319
- * @returns Recast crowd agent paramaters
1318
+ * Convert INavMeshParametersV2 to any by filtering out undefined values.
1319
+ * @param config NavMesh parameters
1320
+ * @returns Recast solo nav mesh generator config
1320
1321
  */
1321
1322
  export function ToSoloNavMeshGeneratorConfig(config: INavMeshParametersV2): Partial<any>;
1322
1323
  /**
1323
- * Convert IAgentParameters to Recast any
1324
+ * Convert IAgentParametersV2 to Recast any by filtering out undefined values.
1324
1325
  * @param agentParams Agent parameters
1325
- * @returns Recast crowd agent paramaters
1326
+ * @returns Recast crowd agent parameters
1326
1327
  */
1327
1328
  export function ToCrowdAgentParams(agentParams: IAgentParametersV2): Partial<any>;
1328
1329