Cars overtaking

Blitz3D Forums/Blitz3D Programming/Cars overtaking

Ash_UK(Posted 2005) [#1]
Does anyone know the best way to program overtaking AI cars please? I have my cars folling path points, but i need them to overtake any opponent in their way. How could i do this?

Thanks


stayne(Posted 2005) [#2]
this is rudimentary advice as i'm pretty new to blitz3d, but wanted to attempt to help you out anyway. in short, if you're all out of options, try my way :)

i'd use entitydistance. move the car increasingly to the right or left of the obstacle and increase the speed until it's overtaken?


Ash_UK(Posted 2005) [#3]
Hmm, i'll give that a try :D Thanks Markd, very much appriciated :)