Class StartEndModifier Extends PathModifier

Public

Adjusts start and end points of a path.

This modifier is included in the Seeker component and is always used if you are using a Seeker. When a path is calculated the resulting path will only be the positions of the nodes it passes through. However often you may not want to navigate to the center of a specific node but instead to a point on the surface of a node. This modifier will adjust the endpoints of the path.

Public Methods

Apply (path)

Main Post-Processing function.

Public

Public Variables

Order
Public
addPoints

Add points to the path instead of replacing them.

Public
adjustStartPoint

Will be called when a path is processed.

Public
exactEndPoint

How the end point of the path will be determined.

Public
exactStartPoint

How the start point of the path will be determined.

Public
mask
Public
useGraphRaycasting

Do a straight line check from the node's center to the point determined by the Exactness.

Public
useRaycasting

Do a straight line check from the node's center to the point determined by the Exactness.

Public

Public Enums

Exactness

Sets where the start and end points of a path should be placed.

Public

Inherited Public Members

Awake (seeker)
Public
OnDestroy (seeker)
Public
PreProcess (path)
Public
seeker
Public

Private/Protected Members

GetClampedPoint (from, to, hint)
Protected
Snap (path, mode, start, forceAddPoint, closestConnectionIndex)
Private
connectionBuffer
Private
connectionBufferAddDelegate
Private