playMaker

Author Topic: pathfinding get child  (Read 2968 times)

ahrens

  • Playmaker Newbie
  • *
  • Posts: 2
pathfinding get child
« on: May 19, 2011, 11:20:19 AM »
hi all.
 
I've tried to make pathfinding with Get child..find child ,but instead ive got headache..
could you please show me how to make a npc find the player upon a simple pathfinding-system with children..or at least give me some hints and tips

please say if you need more info ,or if the problem is too complicated.

Regards Ahrens
« Last Edit: May 20, 2011, 01:31:51 AM by ahrens »

MaDDoX

  • 1.2 Beta
  • Full Member
  • *
  • Posts: 165
    • FluidPlay Studios
Re: pathfinding get child
« Reply #1 on: May 20, 2011, 08:38:46 AM »
Pathfinding is *definitely* not an easy problem to tackle. There are some nice solutions for Unity like A* (a-star) and "path" from angryAnt, but both require some degree of coding. If you wanna try to tailor your own solutio, Id try a bunch of gameobjects (working as navpoints) and the find-nearest + move towards actions. Use Unity's layer system to prevent unwanted collisions. Good luck!
--
Breno "MaDDoX" Azevedo
@brenoazevedo

ahrens

  • Playmaker Newbie
  • *
  • Posts: 2
Re: pathfinding get child
« Reply #2 on: May 20, 2011, 09:55:50 AM »
thanks for the hint(Advice) ;)

i'll maybe try too struggle it with myself ,or use simpel-path tool from assest-store

regards Ahrens

LordShaggy

  • 1.2 Beta
  • Junior Playmaker
  • *
  • Posts: 50
Re: pathfinding get child
« Reply #3 on: May 31, 2011, 09:02:23 PM »
I would recommend creating something outside of playmaker to run all the heavy lifting of your pathing or AI and then create actions to and listeners in PlayMaker to govern behavior.   

I could see how you could make pathfinding with playmaker, but I Dunno if it would be wise, but who knows. Maybe someone has figured out a really nice way to do it.