User Tag List

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

Thread: Trajectory is not perfect

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleMac Export ModuleUnicode Add-on
    Pharanygitis's Avatar
    Join Date
    Aug 2006
    Location
    Germany
    Posts
    1,037
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Unhappy Trajectory is not perfect

    I have a problem, my trajectory is not perfect (not exactly). I don't know why :-/ .. see the attachment.. any ideas where is the problem?

    Wurfparabel.mfa

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleMac Export ModuleUnicode Add-on
    Pharanygitis's Avatar
    Join Date
    Aug 2006
    Location
    Germany
    Posts
    1,037
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Anybody no idea ? :-/

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export ModuleUnicode Add-on

    Join Date
    Nov 2010
    Location
    Switzerland
    Posts
    301
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi Pharanygitis,

    i was looking at your mfa-file, but the math seems a little bit to complicated for me... :-)

    I' m still trying to find out why it doesn' t match the "Target".

    If i find the solution i will post asap.

    I' m also having a problem, but it seems that i' m not able to solve it. If you have any clue for me i would
    be realy grateful. (The Problem is described in the post: "Another Problem with Instances"...

    Thanks also for your great efforts on developing MMF-Extensions (especialy Flash-Plug-Ins).

    Greets from

    jahkri

  4. #4
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    KLiK-iT's Avatar
    Join Date
    Sep 2011
    Location
    New Jersey
    Posts
    2,862
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    I can't figure it out either??

  5. #5
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleMac Export ModuleUnicode Add-on
    Pharanygitis's Avatar
    Join Date
    Aug 2006
    Location
    Germany
    Posts
    1,037
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thank you.. i'm working next time on a better and exact Trajectory with arctan2 and degtorad (i hope mmf2 have this..) ..

    .. and i need radtodeg .. have mmf2 this?

  6. #6
    Clickteam Clickteam
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,937
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Pharanygitis, MMF2 uses degrees for everything, and there are simple formulas to convert between degrees and radians:
    Radians = Degrees/180*Pi
    Degrees = Radians/Pi*180
    Working as fast as I can on Fusion 3

  7. #7
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module
    Eliyahu's Avatar
    Join Date
    Oct 2007
    Location
    Seattle, WA
    Posts
    1,523
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    For each trajectory you have 2 possible outcomes. One will take more time but launch the projectile higher, and one will be faster and launch the projectile more horizontally. They will be the same at 45 degrees.
    Which should be chosen?

  8. #8
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module
    Eliyahu's Avatar
    Join Date
    Oct 2007
    Location
    Seattle, WA
    Posts
    1,523
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Here's an example using trigonometry and the trajectory equations given an initial velocity and gravity.
    You can choose whether the object follows the longer or shorter path.
    If you try to launch it out of its own range, it will try using imaginary numbers, which isn't a good thing, and your projectile will appear at (0,0) because MMF2 doesn't like imaginary numbers.
    You can also change the gravity and initial velocity.

    Enjoy

    -Eliyahu
    Attached files Attached files

  9. #9
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator Pro
    nivram's Avatar
    Join Date
    Jul 2006
    Location
    Bandon, Oregon
    Posts
    6,729
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)
    Thanks! This is a must for later insertion on my website.

    Marv
    ​458 TGF to CTF 2.5+ Examples and games
    http://www.castles-of-britain.com/mmf2examples.htm

  10. #10
    Clicker Fusion 2.5

    Join Date
    May 2008
    Location
    In Your Cheese
    Posts
    132
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I'm a little late with this, and it might not be as great as Eliyahu's example, but I tried to fix, and comment on the original file.

    Don't know if it will help, but here it is.
    Attached files Attached files

Page 1 of 2 1 2 LastLast

Similar Threads

  1. Perfect 360 degree shooting AND perfect hit detection?
    By D_Light in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 9th May 2013, 04:30 AM
  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
  •