Skip to main content
GameDev.net gamedev.net
🔒 Locked

Plotting a curved path in 2d for a character...

Started by gameplayprogammer Dec 4, 2009 at 4:38 AM 1 replies 1k views
Original Post
gameplayprogammer
gameplayprogammer
At the moment i have my character plot a path on the game map of where it is going to go. The human player can then use this to plan their move. The paths plotted are all straight line, from character position to destination. I would like the character to plot a path but put a gentle curve in it. Can anyone think how i can plot a curved path? Also how to control the sharpness of the curve? More Info: I know the start and end points. Its in 2d. There are no obstacles. I don't want any pathfinding.
gameplayprogammer
gameplayprogammer
Thanks. A bit more maths than i was looking for.
Don't suppose there is a library that i can use to do this.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.