User Tag List

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

Thread: Parabolic Eliptical orbit....no gravity...math help?

  1. #11
    No Products Registered

    Join Date
    Jan 2014
    Location
    Indiana, USA
    Posts
    81
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    It hits but then there's no way to tighten the width. I was hoping to be able to adjust the swing along the X axis.

  2. #12
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export Module
    Fusion 2.5 (Steam)
    schrodinger's Avatar
    Join Date
    Nov 2014
    Posts
    3,159
    Mentioned
    28 Post(s)
    Tagged
    1 Thread(s)
    Maybe I don't understand,
    width of ellipse (you speak about the a_param, right?) gets resized while you move the black active object
    and you can still change the origin position of ellipse
    (in the example it was by dragging the red dot.. this may be unhandy if you set the origin Y relative to black active
    but you can change X position of origin -red dot- in any way you like)

  3. #13
    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)
    Here you go. Thanks for the exercise. I learned a lot trying to make this happen. Hopefully the comments help you understand. The hardest part was figuring out the equation.
    Attached files Attached files

  4. #14
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export Module
    Fusion 2.5 (Steam)
    schrodinger's Avatar
    Join Date
    Nov 2014
    Posts
    3,159
    Mentioned
    28 Post(s)
    Tagged
    1 Thread(s)
    Cool work mobichan!
    I've come to learn that trigonometry is of huge usefulness within a game

    For completeness,
    here's the slightly modded version of the previous example to do what's been last asked with moving player/target etc.:

    ellipse_enhanced_modded.mfa

    (As usual, first line is the only needed.
    It carries over all the objects used for reference in previous examples, but obviously you could delete most of them and use values as position holders)

  5. #15
    No Products Registered

    Join Date
    Jan 2014
    Location
    Indiana, USA
    Posts
    81
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Sorry, had to step out yesterday.

    That's great! Good examples I know they'll be useful.

    What I was trying to say yesterday about modifying the width was in the original equation of the ellipse, there's an input specific for the width. Possibly resulting in a tighter curve.

    I thought it was the Y distance that determined whether the target was hit I think you both understand the math better than I do.

  6. #16
    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)
    Jared: I pointed out in my comments in the mfa that you would change the RadiusY variable to change the width of the elliptical path. I coded it to use half the RadiusX var but you can change it to anything. Good luck!

  7. #17
    No Products Registered

    Join Date
    Jan 2014
    Location
    Indiana, USA
    Posts
    81
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yup, I started looking at yours more closely a few minutes ago I already got some ideas how I'm going to use this. Thanks!

Page 2 of 2 FirstFirst 1 2

Similar Threads

  1. Planetary orbit
    By willy in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 21st September 2009, 11:11 PM
  2. Parabolic Motion
    By pirodaggar in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 22nd July 2008, 05:00 PM
  3. Orbit
    By heliuse in forum File Archive
    Replies: 5
    Last Post: 10th October 2007, 05:57 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
  •