Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: Yanifska on August 05, 2014, 02:23:33 PM

Title: 2d grid pathfiding
Post by: Yanifska on August 05, 2014, 02:23:33 PM
Hi there !

I need some help with pathfinding.
I have a grid of 6*7 slots, and I want my AI units to be able to move across the board avoiding obstacle.
It has to cross a group of  friendly units to attack an enemy for example.
Do you know how to go for this ?
I am studying Best First Shot alogorithm but I am afraid it is slightly over my level.
I was wondering if someone is aware of a (cheap) package for Playmaker,
or has pointers how to start building such a system.

Thank you
Title: Re: 2d grid pathfiding
Post by: cmonroy on August 06, 2014, 04:29:17 PM
There is an indie version of the famous A* navigation algorithm at:

http://www.arongranberg.com/astar/docs/
Title: Re: 2d grid pathfiding
Post by: 600 on August 06, 2014, 04:35:01 PM
Or Unity pathfinding.
https://hutonggames.fogbugz.com/default.asp?W1174

Using this with provided custom actions.