computeNextPosition

abstract fun computeNextPosition(overallIntentionalForce: P): P(source)

Computes the next relative position given the overall intentional force.

Return

the next relative position as a P.

Parameters

overallIntentionalForce

the combined intentional force as a vector of type P.


open override fun computeNextPosition(actions: List<SteeringAction<T, P>>): P(source)

Computes the next position by delegating the combination of steering actions to nonPhysicalStrategy and then applying physical dynamics.