Class Funnel
Inheritance
System.Object
Funnel
Namespace: AlchemyBow.Navigation.Utilities
Assembly: AlchemyBow.Navigation.dll
Syntax
public sealed class Funnel
Methods
| Improve this Doc View SourceCalculate3DPath(Vector3[], Boolean)
Calculates the shortest path for a 3d channel.
Declaration
public Vector3[] Calculate3DPath(Vector3[] channel, bool exactPath)
Parameters
Type | Name | Description |
---|---|---|
UnityEngine.Vector3[] | channel | An array where: the first index is the start point; the last index is the end point; other indexes are the channel portals pairs. |
System.Boolean | exactPath | If |
Returns
Type | Description |
---|---|
UnityEngine.Vector3[] | The calculated path. |
Remarks
Portal points don't have to be standardized.