I'm currenlty working on an assignment and would appreciate any sort of help on the following implementation
The question follows
We are tasked to implement some heuristics but one of them is really confusing to me.
The following are a set of heuristics widely used by game developers for the movement of human characters while trying to reach a target
A. If the character is stationary or moving very slowly
- If it is a very small distance from its target, it will step there directly, even if this involves moving backward or sidestepping
- Else if the target is farther away, the character will first turn on the spot to face its target and then move forward to reach it.
B. Else if the character is moving with some speed
If the target is within a speed-dependent arc (like a narrow perception zone, or a cone of perception) in front of it, then it will continue to move forward but add a rotational component to incrementally turn toward the target**
Else if the target is outside its arc, then it will stop moving and change direction on the spot before setting off once more.
B2 I'm not entirely sure what a speed dependent arc is. I googled it and it bring it back to the textbook( Artificial Intelligence for video games). My question is : what is a speed dependent arc?