Quote Originally Posted by tux
you could use ray casts for the obstacles detection, that would also work for detecting other cars around you (just shoot off a few raycasts in different directions)
Ok, that would be easy (since ODE already support this), but the difficoult part comes after.
If i detect the obstacle, what can i do ? It is impossible to do a nice "turn around". It should check whether the object is moving or not, choose to go left or right and the entity of the turning, choose how much staing in "surpass" and when reentering the "normal line". Also, some part of the tracks are thight, so you should check if moving away from the "normal line" will cause the car to bump on the border..
I don't think i'm able to do all this things.