A simple function set for Bézier curve "interpolation" has been added as well as integrated directly into the pathfinding. It's not perfect (only 1 node gets interpolated/ smoothed at a time for stability reasons in the pathfinding algorithm) but the entity follows a much smoother path now and it's pretty fast, too:

http://opserver.de/swik10/index.php?title=Pathfinding
http://www.superku.de/HPF_v1.21.zip (updated)



(EDIT: fixed links)

Last edited by Superku; 08/08/15 08:30.

"Falls das Resultat nicht einfach nur dermassen gut aussieht, sollten Sie nochmal von vorn anfangen..." - Manual

Check out my new game: Pogostuck: Rage With Your Friends