Playmaker Forum

PlayMaker News => General Discussion => Topic started by: gamedivision on September 27, 2012, 07:26:48 AM

Title: best solution for crowd based ai
Post by: gamedivision on September 27, 2012, 07:26:48 AM
i have a crowd that needs to constantly track 1 character during game play,maybe the odd character would stop and roam but the majority would constantly track,the problem is i have stairs and all kinds of obstacles in place,i know we have nav mesh in unity .
what would be the best way to address this
i have ai4 enemies prefab already shall i use that

thanks
Title: Re: best solution for crowd based ai
Post by: jeanfabre on September 27, 2012, 07:50:54 AM
Hi,

 Are you saying that you want to use something else than the Unity nav mesh system? Or are you looking for solution using that?

bye,

 Jean
Title: Re: best solution for crowd based ai
Post by: gamedivision on September 27, 2012, 08:12:55 AM
im looking for what the best posible solution would be,ive been looking at some pathfinding prefabs on the asset store,im wondering if thats the best solution
Title: Re: best solution for crowd based ai
Post by: gamedivision on September 27, 2012, 04:43:27 PM
so looking at the pathfinder stuff,it creates a mesh that the enemy follows ,could i access the navmesh that unity creates,so my enemy can follow
Title: Re: best solution for crowd based ai
Post by: jeanfabre on September 28, 2012, 02:16:50 AM
Hi,

 not sure what framework you are using when mentioning "pathfinder"

bye,

 Jean
Title: Re: best solution for crowd based ai
Post by: gamedivision on September 28, 2012, 06:39:53 AM
iphone4 and above and ipad.i downloaded the free version of A* Pathfinder and that detects surfaces and lays out a mesh then your enemy can work out a route to find you.plus its mobile compatible,my biggest problem,i cant program,so i have to find another way of getting to my goals,so if i can find an efficient way of combining a pathfinder with an AI system which we have already had tutorials on then its sorted.
Title: Re: best solution for crowd based ai
Post by: jeanfabre on September 28, 2012, 06:50:02 AM
Hi,

 Unfortunalty, I do not own that system. Pm me if you want to port this to playmaker. I have ported the unity built nav mesh and path finding system, and I think it would be good for the community is they can get an this alternative when they do not own Unity pro

bye,

 Jean
Title: Re: best solution for crowd based ai
Post by: gamedivision on September 28, 2012, 10:54:05 AM
here is the website
http://www.arongranberg.com/unity/a-pathfinding/
here is the page to download the free version
http://www.arongranberg.com/unity/a-pathfinding/download/
and here is the full documentation
http://www.arongranberg.com/astar/docs/
the free version comes with loads of demo scenes and the full version of the pathfinder,this really is one of the greatest free downloads.
check out the demo scene you move your character anywhere in the scene it will automatically generate a route to you no matter where you are, upstairs, blocked routes,behind obstacles 
thanks
Title: Re: best solution for crowd based ai
Post by: jeanfabre on October 01, 2012, 01:30:44 AM
Hi,

 did not spot that it had a free version! I will see what it's all about, thanks for the link.

bye,

 Jean
Title: Re: best solution for crowd based ai
Post by: gamedivision on October 01, 2012, 08:20:08 AM
Hi jean
Do you have the link to the ported version of Unity pathfinder tool I'd like to read what you've done.

Thank you
Title: Re: best solution for crowd based ai
Post by: jeanfabre on October 02, 2012, 05:55:20 AM
Hi,

here it is:

http://hutonggames.com/playmakerforum/index.php?topic=1253.0 (http://hutonggames.com/playmakerforum/index.php?topic=1253.0)

bye,

 Jean
Title: Re: best solution for crowd based ai
Post by: gamedivision on October 02, 2012, 04:40:31 PM
thank you jean