Physical Steering Strategy
interface PhysicalSteeringStrategy<T, P : Position<P>, Vector<P>, A : GeometricTransformation<P>, F : GeometricShapeFactory<P, A>> : SteeringStrategy<T, P>
Content copied to clipboard
Defines how physical forces and steering actions (which may be seen as intentional forces) are combined to compute the overall next position reached by a physical node. The combination of steering actions is delegated to a nonPhysicalStrategy. The resulting intentional force is then combined with the physical ones to determine the next position reached by node.
Functions
Link copied to clipboard
Computes the next relative position reached by the node, given the overall intentional force.
open override fun computeNextPosition(actions: List<SteeringAction<T, P>>): P
Content copied to clipboard
Link copied to clipboard
Delegated to nonPhysicalStrategy.
Properties
Link copied to clipboard
The combination of intentional forces (= steering actions) and computeTarget are delegated to this strategy.