Sign in to follow this  

Path Following

Recommended Posts

anupgupta    128
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


Share this post

Link to post
Share on other sites
Exorph    105
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.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this