User Tag List

Page 2 of 2 FirstFirst 1 2
Results 11 to 15 of 15

Thread: Integrated Path Planning issue

  1. #11
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export Module
    happygreenfrog's Avatar
    Join Date
    May 2011
    Location
    I.L.T.D.O.I.R (I.L.T.D.O.I.R's Location: The Dimension Of Infinite Recursion)
    Posts
    4,307
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Hey, Mokhtar, do you think you could perhaps port the integrated path planning to other runtimes, by any chance? That's the one thing that all of the existing pathfinding objects have lacked so far (being available for all runtimes (though there is one pathfinding object that is available for Flash, it doesn't work in Windows, which means that, if you want a Flash version and an EXE version, you need to maintain the two separately as of now)), which is why I'm wondering.

    A Flash port would be a good start, if you do end up porting it to other platforms, since it shouldn't be too hard to do if you know ActionScript (and, if you don't, it shouldn't be too hard to learn it), though, if there is another port that you think would be easier, you can port it to that runtime instead (E.G. If you don't know ActionScript, and you know Objective-C incredibly well, then an iOS port would probably be easier).

  2. #12
    Clicker Fusion 2.5 DeveloperiOS Export ModuleSWF Export Module

    Join Date
    Jul 2006
    Location
    USA
    Posts
    461
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    OK, I'm finally back. I see what's happening now, it's crossing the node for a moment and the event to orient triggers before the path is updated. This could be fixed by setting a larger grid tolerance in the extension properties. But a more direct fix would be to simply slow down the orientation event a bit, it worked fine with a 5/100 of a second condition.

    Of course, the ideal solution would be to have an invisible marker jump to the nodes until the agent collides with it, as that would allow for smother paths.

  3. #13
    Clicker Fusion 2.5 DeveloperiOS Export ModuleSWF Export Module

    Join Date
    Jul 2006
    Location
    USA
    Posts
    461
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by happygreenfrog View Post
    Hey, Mokhtar, do you think you could perhaps port the integrated path planning to other runtimes, by any chance?
    Technically it's doable of course. I would say the XNA port would be the easiest (but probably least needed). Porting the advanced features may be difficult, but a subset of the most common may be feasible. There hasn't been much demand for a port so far though. The main problem is my severe lack of time. However, if any of the extension developers has the time and is interested in porting it, I can definitely help them out.

  4. #14
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleFirefly 3D Module

    Join Date
    Oct 2006
    Posts
    138
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Mokhtar View Post
    OK, I'm finally back. I see what's happening now, it's crossing the node for a moment and the event to orient triggers before the path is updated. This could be fixed by setting a larger grid tolerance in the extension properties. But a more direct fix would be to simply slow down the orientation event a bit, it worked fine with a 5/100 of a second condition.

    Of course, the ideal solution would be to have an invisible marker jump to the nodes until the agent collides with it, as that would allow for smother paths.
    Thanks for taking a look. I did try your first two solutions but they didn't solve it for me

    I increased the grid tolerance from 8 and tried all the way up to 100 and the problem still occured. I tried it into the minus too just to check.

    The second solution about slowing the orientation, do you mean adding a restrict action for 0.05 sec to the event? I did that but it didn't fix.

    I've not tried the third one yet, just checking I've tried the first 2 correct before I go the marker route.

    Thanks

  5. #15
    Clicker Fusion 2.5 DeveloperiOS Export ModuleSWF Export Module

    Join Date
    Jul 2006
    Location
    USA
    Posts
    461
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    For the second solution: not restrict, just add an "every 0.05" condition to the orientation event.

Page 2 of 2 FirstFirst 1 2

Similar Threads

  1. Integrated Path Planing Object
    By Kisguri in forum Released Extensions
    Replies: 27
    Last Post: 12th July 2017, 10:48 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
  •