Hi,
I'm working a racing sim.
There's no player controlled car in this application.
All the cars will race automatically.
I could implement AI cars following waypoints as a guide on the track.
One specific requirement for my application is these cars must be finished the race in specific order (ranks, position, whatever).
If I use pure AI and physics then the result may not be exactly as I want.
So, any ideas on this specific requirement?
Thanks in advance.
Any ideas on car AI?
Started by aungsithu, Nov 06 2008 08:27 AM
2 replies to this topic
#1
Posted 06 November 2008 - 08:27 AM
#3
Posted 08 November 2008 - 12:38 AM
I used splines (ex: http://en.wikipedia....ki/Cubic_spline) in one racing game with a great success.
First I created some base splines around the track, then randomized slightly every knot, giving the AI racers a visually natural feeling of "intelligent" driving, because they never followed exactly the curves.
That was just quick to implement and quite rewarding.
First I created some base splines around the track, then randomized slightly every knot, giving the AI racers a visually natural feeling of "intelligent" driving, because they never followed exactly the curves.
That was just quick to implement and quite rewarding.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users











