How to make character follow path from array of locations?

CanadianCheesus
Thu, 12 Aug 2021 20:49:11 +0000
Character & Animation

I am trying to implement grid based movement. I have multiple grids, at begin play the locations for each tile are added to an array.

I would like to generate the shortest path between two points but only have the character move between points of the location array.

I see that A* path-finding does what I need but I am unsure on if this will work with my setup.

Any advice on how to do this would be greatly appreciated! Thanks in advance!

4 posts - 1 participant