Skip to main content

flee

Function flee 

Source
pub fn flee(agent: &SteeringAgent, threat: Vec2) -> Vec2
Expand description

Flee: accelerate directly away from threat.