Class RichFunnel Extends RichPathPart
Public
Public Methods
Update
(position, buffer, numCorners, lastCorner, requiresRepath)
Find the next points to move towards and clamp the position to the navmesh.
Public Variables
CurrentNode
Public
DistanceToEndOfPath
Approximate distance (as the crow flies) to the endpoint of this path part.
Public
exactEnd
Public
exactStart
Public
funnelSimplification
Post process the funnel corridor or not.
Public
Private/Protected Members
UpdateFunnelCorridor
(splitIndex, prefix)
Split funnel at node index splitIndex and throw the nodes up to that point away and replace with prefix.
checkForDestroyedNodesCounter
Private
currentNode
Private
currentPosition
Private
graph
Private
left
Private
Readonly
navmeshClampDict
Cached object to avoid unnecessary allocations.
navmeshClampList
Cached object to avoid unnecessary allocations.
navmeshClampQueue
Cached object to avoid unnecessary allocations.
nodes
Private
path
Private
right
Private
Readonly
triBuffer
Private