Path Following

Started by
1 comment, last by Exorph 12 years, 9 months ago
hello everyone

I am currently working on a game which requires my car to follow a dedicated path (which could be of any shape i.e straight , curved etc)..i would like to know some sort of a possible algorithm which could suit the need
any kind of help is highly appreciated

Regards
Anup
Advertisement
This is commonly known as "steering." A quick google for Craig Reynolds should turn up some good introductory resources.

Wielder of the Sacred Wands
[Work - ArenaNet] [Epoch Language] [Scribblings]

Easiest implementation:

Find a point in front of the car
Find the closest point on the path from that point
Turn car towards the closest point

The steps should be easily googlable if you're having trouble. There is a steering behaviour for this exact purpose.

This topic is closed to new replies.

Advertisement