SpeedSelectionStrategy
Computes a node's movement length toward a target.
Type Parameters
T
concentration type
P
position type
Inheritors
Functions
Link copied to clipboard
open fun cloneIfNeeded(destination: Node<T>, reaction: NodeReaction<T>): SpeedSelectionStrategy<T, P>
Returns a clone for destination and reaction when the strategy is stateful.
Link copied to clipboard
Computes the movement length toward target.