AI - Einführung, Suche & Exploration, Steering & Control, Path Finding  

Kinematische Algorithmen

Wie funktioniert der (kinematische) Arrive Algorithmus?

1. Bestimme Zielvektor v = target.pos (t) - agent.pos (a)
2. Wenn agent.pos im Toleranzradius liegt (|v| < r) beedne Arrive (success)
3. Berechne steering velocity
    s = v / δ
    wenn |s| > maxSpeed dann gilt
    s = norm(v) * maxSpeed
4. Berechne steering rotation

Diskussion