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.
points | List containing points in local coordinates. |
NullReferenceException | If points is null . |