Path#
Bases:
TaskThe task to follow a path defined by a list of points.
Registered properties:
points(list[navground.core.Vector2])tolerance(float)
Constructs a new instance.
- Parameters:
points – The points defining the curve
tolerance – The goal tolerance
Overridden: always returns False.
- Returns:
False
Overridden: initializes the controller to follow the path if set.
- Parameters:
agent – The agent
world – The world
The path or None if not enough points are provided
The points defining the curve
The goal tolerance