NavigationAction
A SteeringAction allowing a node to navigate an environment consciously (for example, avoiding getting stuck in U-shaped obstacles). Names are inspired by indoor environments, but this interface also works for outdoor scenarios.
Type Parameters
the concentration type.
the transformation type supported by the shapes in this space.
the type of landmarks in the node's cognitive map.
the type of edges in the node's cognitive map, representing relations between landmarks.
the type of navigation-area shapes provided by the environment.
the type of edges (passages) of the navigation graph provided by the environment.
Inheritors
Properties
The room (environment area) the navigatingNode is in, if any.
The environment the navigatingNode is in.
The owner of this action.
The navigatingNode's orienting property.
The position of the navigatingNode in the environment.
Functions
Moves the node across the provided door, which must be among the doors returned by doorsInSight.
Returns the doors (passages/edges) the node can perceive.
Moves the node to the given final destination, which must be inside currentRoom.
Returns the target relative position the owner will move to when this action is executed. The position is relative to the owner's current position.