Function RichPath.Initialize

Initialize (Seeker seeker, Path path, bool mergePartEndpoints, bool simplificationMode)

Use this for initialization.

Public
void Initialize (

Seeker

seeker

Optionally provide in order to take tag penalties into account. May be null if you do not use a Seeker\

Path

path

Path to follow

bool

mergePartEndpoints

If true, then adjacent parts that the path is split up in will try to use the same start/end points. For example when using a link on a navmesh graph Instead of first following the path to the center of the node where the link is and then follow the link, the path will be adjusted to go to the exact point where the link starts which usually makes more sense.

bool

simplificationMode

The path can optionally be simplified. This can be a bit expensive for long paths.

)

Use this for initialization.