Game Development Reference
In-Depth Information
Evasion
Evasion is a steering behavior that tries to make the agent flee from another agent. This be-
havior is the exact opposite of pursue . Instead of steering toward an enemy's future posi-
tion, we flee from the enemy's future position:
local forceToEvade = agent:ForceToFleePosition(
enemy:PredictFuturePosition(timeInSeconds));
Search WWH ::




Custom Search