#include <avoidancesolver.h>
AvoidanceSolver computes a velocity compatible with all the colliders in AvoidanceWorkspace and the NavData accordingly to TraverseLogic.
Inherits Kaim::IAvoidanceSolver.
Functions | |
AvoidanceSolver () | |
virtual AvoidanceResult | Solve (AvoidanceSolverConfig &config, const Vec2f &previousVelocity, const Vec2f &desiredVelocity, Vec2f &outputVelocity, Vec2f &outputFrontDirection, bool &collide) |
Compute the more appropriate velocity. More... | |
|
virtual |
Compute the more appropriate velocity.
It stops at the first compatible one in this order:
Implements Kaim::IAvoidanceSolver.