Cognitive Agent Wander
Produces a wandering steering action that simulates a random walk by targeting points on a circle centered at a given offset from the node and with a given radius.
The node's heading is set randomly and subsequent target points are chosen on a circumference around the heading with the specified offset and radius. The resulting target is constrained by the node's maximum walking distance.
Parameters
the reaction executing this action.
the owner of this action.
Type Parameters
the concentration type.
Constructors
Functions
This method allows to clone this action on a new node. It may result useful to support runtime creation of nodes with the same reaction programming, e.g. for morphogenesis.
Returns the absolute target position this action points to.
Computes the distance between this action's target and the given node within the provided environment.