Causes pedestrians to go to the specified location.
Location can be defined by a target line, area or a point with given coordinates. The pedestrian has to reach a given a given point, or any point of the specified line, or area. Pedestrians find path to the specified destination within current ground.
There are two path choice modes: Reach target and Follow route. In Reach target mode the path is automatically calculated by the library. Use this mode when you do not want draw a route by yourself. However, if your environment either has numerous walls and borders, or if they make up a maze, it will take plenty of time for the algorithm to calculate the shortest path. In these cases we recommend to define paths manually using the Follow route path choice mode.