FollowAtDistance
Causes a node to follow a destination read from a Molecule, maintaining a fixed distance and respecting a maximum speed.
The destination is read from the specified target molecule and interpreted as coordinates or a tuple.
Parameters
the reaction hosting this action, whose node follows the destination.
the environment containing the nodes.
the molecule carrying the destination coordinates.
the distance to keep from the destination.
the maximum movement speed.
Type Parameters
the concentration type.
Constructors
Properties
The NodeReaction owning this action, hosted by targetNode.
Functions
Creates an equivalent action owned by newReaction, such as a reaction cloned onto a new node. An action targeting the host of its reaction targets the host of newReaction, which must then be a Node; an action targeting any other node keeps its target.