The Daily Click ::. Forums ::. Klik Coding Help ::. Pathfinding with Bouncing Ball movement?
 

Post Reply  Post Oekaki 
 

Posted By Message

Strife

Administrator
Der Dairy Crick

Registered
  21/11/2002
Points
  2305

VIP MemberGOTW AWARD! -Astro Dude - part 1 GOTM JULY - 2009 - 3RD PLACE!It's-a me, Mario!Has Donated, Thank You!I donated an open source project
18th August, 2010 at 10:14:10 -

So I've been wondering... Are there any tutorials for pathfinding that deal with MMF's default bouncing ball momement? This is the movement that the vast majority of monsters and NPCs use in my game, and I'm wondering if there's a good way to pull it off without separate collision detector objects. If, however, separate objects are a must for pathfinding, then I'll settle with that.

DC's search feature isn't being very cooperative, so I think I need help being pointed in the right direction. To sum it up, I need some sort of pathfinding technique that will allow to make an NPC weave around walls and obstacles in order to get to their destination (i.e. the player) instead of traveling to them in a straight line all the time.

 

Jon C-B

I create vaporware

Registered
  23/04/2008
Points
  237

I'm an alien!VIP MemberWii OwnerI donated an open source project Santa Hat
18th August, 2010 at 15:00:48 -

The only thing i can think of thats sort of like path finding is to always make the active look at the player.

 
n/a

Strife

Administrator
Der Dairy Crick

Registered
  21/11/2002
Points
  2305

VIP MemberGOTW AWARD! -Astro Dude - part 1 GOTM JULY - 2009 - 3RD PLACE!It's-a me, Mario!Has Donated, Thank You!I donated an open source project
18th August, 2010 at 15:58:42 -

I've tried that, but it doesn't work if there's an obstacle directly between them. ; I'd want the NPC to be smart enough to walk around it.

 
   

Post Reply



 



Advertisement

Worth A Click