Polarith AI
1.8

◆ SetLocalPoints()

void SetLocalPoints ( List< Vector3 >  points)

Sets a new point list for the path, whereby it assumes that the points are in local coordinates.

After setting a new path AIMPathConnector.PathChanged might be called in order to update other behaviours using AIMPathConnector.GetPoints like AIMFollowWaypoints.

Note: Setting new points cause an re-adaption of the internally stored waypoint data. So avoid calling this method too frequently in order to save performance.

Parameters
pointsList containing points in local coordinates.
Exceptions
NullReferenceExceptionIf points is null.
Imprint