User Tag List

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 17

Thread: [Still doesn't get it] HELP: Moving to the Closest Node! (w/ MFA)

  1. #1
    Clicker Multimedia Fusion 2
    GreenOnion's Avatar
    Join Date
    Oct 2012
    Location
    Sweden
    Posts
    30
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Unhappy [Still doesn't get it] HELP: Moving to the Closest Node! (w/ MFA)

    Nope. I can't for the life of me figure this stuff out, which is bad, since I need to understand this for my project - pretty much just like a house needs walls.
    So, if some kind soul could take a look at this, that would be very appriciated.

    Closest.mfa < Here's the cut-down version of what stage I'm at right now. (IE: 85% nowhere)

    Basically, Object X moves through all Object Y's - except only the one who's closest to X, and not an already connected Y.
    *Sigh* ... Why is this algorithm so impossible for me to replicate, I don't know.

    Thanks in beforehand.

  2. #2
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleSWF Export Module
    Konidias's Avatar
    Join Date
    Aug 2009
    Posts
    1,546
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    This might not be the best method, but it works. Good luck!

    Closest-fixed.mfa

  3. #3
    Clicker Multimedia Fusion 2
    GreenOnion's Avatar
    Join Date
    Oct 2012
    Location
    Sweden
    Posts
    30
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Konidias View Post
    *Glorious solution*
    Thank you so much

  4. #4
    Clicker Multimedia Fusion 2Android Export ModuleiOS Export Module
    loglady's Avatar
    Join Date
    Jul 2011
    Location
    Twin Peaks
    Posts
    192
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Konidias, do you know how to loop the movement thru all the nodes when the active object reaches the last node? (when the AO reaches the last node, go to the first node an loop thru all other nodes)

    I made this .mfa to example the problem.

    https://dl.dropbox.com/u/4570230/Lap_Problem.mfa

  5. #5
    Clicker Multimedia Fusion 2Android Export ModuleiOS Export Module
    loglady's Avatar
    Join Date
    Jul 2011
    Location
    Twin Peaks
    Posts
    192
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Oh, for you guys that are shy, anyone can answer this question not just Konidias.

  6. #6
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleSWF Export Module
    Konidias's Avatar
    Join Date
    Aug 2009
    Posts
    1,546
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Hmmm it's an odd thing. I feel like it has something to do with the way you're initializing it compared to how you're continuing it. I can't look into it too much right now, I don't have free time... so hopefully someone else can tackle this.

  7. #7
    Clicker Multimedia Fusion 2Android Export ModuleiOS Export Module
    loglady's Avatar
    Join Date
    Jul 2011
    Location
    Twin Peaks
    Posts
    192
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I have been breaking my head around this the whole week...

  8. #8
    No Products Registered

    Join Date
    Apr 2013
    Posts
    68
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I think Konidias is right about the initializing/continuing thing. I messed with it a bit and came up with something. Hope it helps.

  9. #9
    Clicker Multimedia Fusion 2Android Export ModuleiOS Export Module
    loglady's Avatar
    Join Date
    Jul 2011
    Location
    Twin Peaks
    Posts
    192
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    @BigHatLogan

    Thanks a lot! I figured that I had to set the counting to -1 but never thought the way you did.

    Another question poped: It is working "clockwise" but how to set it to run "counter clockwise" (or any other direction)?

    Again, many thanks to you and to Konidias too for starting to solve GreenOnion's question.

  10. #10
    No Products Registered

    Join Date
    Apr 2013
    Posts
    68
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Well that depends on what are you trying to do exactly. Right now it's setup that player moves towards the closest waypoint. So the answer could be as simple as just moving player(the guide object to be precise) closer to different waypoint at the start. But there is not really a good way to change direction at will, that would require different approach.

Page 1 of 2 1 2 LastLast

Similar Threads

  1. After a few seconds, moving objects right doesn't work
    By SuperDisk in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 21st June 2013, 08:58 PM
  2. Problem: Advanced Path Movement - Selecting the closest node?
    By GreenOnion in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 7th March 2013, 02:16 PM
  3. Moving objects and then checking for collision doesn't work during frame start
    By crusher in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 8th July 2012, 04:48 PM
  4. Moving Platform doesn't seem to like Player (^-^;)
    By Raylax in forum Multimedia Fusion 2 - Technical Support
    Replies: 16
    Last Post: 15th February 2009, 09:23 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
  •