User Tag List

Results 1 to 5 of 5

Thread: Pathfinding with moving aim

  1. #1
    Clicker Fusion 2.5 DeveloperiOS Export Module
    Czentnar's Avatar
    Join Date
    Jan 2007
    Location
    Budapest, Hungary
    Posts
    819
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Pathfinding with moving aim

    I'm working on a game at the moment where a bird follows a little flea. (We control the flea and the bird is the enemy. I want to make a Booga-Boo remake.) I could do that the bird follows the flea, but I want to do that it by-passes obstacles. Can I do this with the Pathfinding object? Please help me, or I'd be happy if you could recommend something as an example.
    Thanks a lot!

  2. #2
    No Products Registered

    Join Date
    Jul 2006
    Location
    Texas
    Posts
    1,225
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Pathfinding with moving aim

    Depends. Are you using 360 degree angles (or atleast 32 directions)?

  3. #3
    Clicker Fusion 2.5 DeveloperiOS Export Module
    Czentnar's Avatar
    Join Date
    Jan 2007
    Location
    Budapest, Hungary
    Posts
    819
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Pathfinding with moving aim

    I use yet 32 directions, but I can switch to 360 degree, if it is better.

  4. #4
    No Products Registered

    Join Date
    Jul 2006
    Location
    Texas
    Posts
    1,225
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Pathfinding with moving aim

    The pathfinding extension only supports 8 directions (which is why I never use it) so what I usually do is just have the enemy turn away from the obstacles by using detectors that are attached to the object, so when the one on the right hits an obstacle, make it turn to the left, and so on. Then, when the detectors aren't hitting any obstacles, make the object look at the object it is trying to get to.

    It doesn't sound like it would work very well but it does.

  5. #5
    Clicker Fusion 2.5 DeveloperiOS Export Module
    Czentnar's Avatar
    Join Date
    Jan 2007
    Location
    Budapest, Hungary
    Posts
    819
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Pathfinding with moving aim

    Thanks! This is very important for me, because I had some problems: for example the bird simply went through the obstacles, although it should have stop.

Similar Threads

  1. Pathfinding
    By Limyr in forum Multimedia Fusion 2 - Technical Support
    Replies: 9
    Last Post: 28th November 2012, 09:58 PM
  2. pathfinding
    By graboide in forum iOS Export Module Version 2.0
    Replies: 6
    Last Post: 9th October 2012, 11:33 AM
  3. Pathfinding Or?
    By Nathanial_B in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 21st February 2012, 06:14 AM
  4. Pathfinding example
    By Sphax in forum File Archive
    Replies: 0
    Last Post: 15th July 2007, 09:12 AM
  5. Pathfinding
    By willy in forum Multimedia Fusion 2 - Technical Support
    Replies: 10
    Last Post: 11th September 2006, 04:24 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •