I want is a character to walk along a path defined as a waypoint sequence. For example, a soldier patrolling around a castle.
However, I want the soldier to avoid (dynamic) obstacles, without deviating from the path too much.
How can this be done?