Class RichFunnel Extends RichPathPart
Public Methods
Build a funnel corridor from a node list slice.
Clamps the position to the navmesh and repairs the path if the agent has moved slightly outside it.
Fill wallBuffer with all navmesh wall segments close to the current position.
Works like a constructor, but can be used even for pooled objects.
Find the next points to move towards and clamp the position to the navmesh.
Public Variables
Approximate distance (as the crow flies) to the endpoint of this path part.
Post process the funnel corridor or not.
Private/Protected Members
True if any node in the path is destroyed.
Searches for the node the agent is inside.
Simplifies a funnel path using linecasting.
Split funnel at node index splitIndex and throw the nodes up to that point away and replace with prefix.
Cached object to avoid unnecessary allocations.
Cached object to avoid unnecessary allocations.
Cached object to avoid unnecessary allocations.