User Tag List

Results 1 to 7 of 7

Thread: simple 360 movement and trajectory

  1. #1
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    anatol's Avatar
    Join Date
    Jun 2016
    Posts
    140
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    simple 360 movement and trajectory

    Help me please. I can`t understand why my trajectory is so bad
    prob.jpg

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)

    Join Date
    Sep 2017
    Location
    Milano, Italy
    Posts
    130
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    If you could give a test .mfa will be great.
    For now I can say that to me it is strange how you put the parameters in the ATan2 function, you need a dY/dX, in the second parameter you inverted the order of the objects X coordinates.
    You are doing something like...
    (Y2-Y1)/(X1-X2)
    but you need a
    (Y2-Y1)/(X2-X1)
    this i think is one point to check.

  3. #3
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    anatol's Avatar
    Join Date
    Jun 2016
    Posts
    140
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Ok , here is mfa file
    BTW - I use this formula
    -6EbDuGkCPY.jpg

    tra.mfa

  4. #4
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)

    Join Date
    Sep 2017
    Location
    Milano, Italy
    Posts
    130
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Sorry I tried but cant find a solution.
    If I understood the matter you are trying to make the "man2" active move toward the "point" active in a straight line.
    I made a differend .mfa from the start to da the thing in may way and I have your same problem, a two line trajectory, now I think it is a problem on the precision of the calcolus made by Fusion or something like this.
    I tried to force the calcolus using floating point number by using *1.0 and the like, the result is a little bit different but you can always see the two different lines trajectoryes.
    I have no idea sorry.

  5. #5
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    mobichan's Avatar
    Join Date
    Oct 2007
    Location
    Buffalo, NY
    Posts
    3,310
    Mentioned
    28 Post(s)
    Tagged
    0 Thread(s)
    tra_rev01.mfa

    Modified your expression a little. I can't exactly say why what you had done wasn't working. My math skills are a bit terrible and I always approach vector movement the same way.

  6. #6
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)

    Join Date
    Sep 2017
    Location
    Milano, Italy
    Posts
    130
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by mobichan View Post
    tra_rev01.mfa

    Modified your expression a little. I can't exactly say why what you had done wasn't working. My math skills are a bit terrible and I always approach vector movement the same way.
    I used a similar approach as you, the only difference is splitting the calculation and the position setting, probably this is the core of the problem.

  7. #7
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    anatol's Avatar
    Join Date
    Jun 2016
    Posts
    140
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Thanks for your help guys .

Similar Threads

  1. Trajectory is not perfect
    By Pharanygitis in forum Multimedia Fusion 2 - Technical Support
    Replies: 12
    Last Post: 9th July 2013, 06:05 PM
  2. Ball trajectory
    By RhysD in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 17th March 2009, 06:03 PM
  3. Trajectory Question
    By jellytot in forum Multimedia Fusion 2 - Technical Support
    Replies: 9
    Last Post: 1st May 2008, 02:43 AM
  4. Trajectory example for Jellytot
    By Dines in forum File Archive
    Replies: 0
    Last Post: 29th April 2008, 04:10 PM
  5. Calculating an arc/trajectory
    By McPhisto in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 24th March 2008, 03:53 AM

Posting Permissions

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