User Tag List

Results 1 to 8 of 8

Thread: Advanced Equations in MMF2

  1. #1
    Clicker Fusion 2.5 DeveloperiOS Export ModuleSWF Export Module
    XStar's Avatar
    Join Date
    Feb 2012
    Location
    Winchester, VA
    Posts
    1,165
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Advanced Equations in MMF2

    b28a11e799d17842f2b9bae2274a70c4.png

    where:


    F12 is the magnitude of the gravitational force between the two point masses,
    G is the gravitational constant,
    |m1| >0 is the (negative) mass of the first point mass (the minus is put out to show negative force; m1 is actually <0),
    m2 >0 is the mass of the second point mass,
    r is the distance between the two point masses.


    Stuff like that to make a game realistic! Adding new and advanced equations for a game that involves true physics! How to start?

  2. #2
    Clicker Fusion 2.5 Developer

    Join Date
    Jul 2008
    Location
    UK
    Posts
    1,341
    Mentioned
    16 Post(s)
    Tagged
    0 Thread(s)
    Instead of starting with an equation and asking us what to do with it, why don't you start by telling us what exactly you're trying do, and then we might be able to help.

  3. #3
    Clicker Fusion 2.5 DeveloperiOS Export ModuleSWF Export Module
    XStar's Avatar
    Join Date
    Feb 2012
    Location
    Winchester, VA
    Posts
    1,165
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Well ok! I'm working on a physics application to test different equations of my design!

  4. #4
    Clicker Fusion 2.5 DeveloperiOS Export ModuleSWF Export Module
    XStar's Avatar
    Join Date
    Feb 2012
    Location
    Winchester, VA
    Posts
    1,165
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Inputting these types of equations is the basis of the physics.

  5. #5
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleFirefly 3D ModuleInstall Creator Pro
    twister's Avatar
    Join Date
    Jan 2007
    Location
    Pacific Northwest USA
    Posts
    372
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)
    Here is a link http://en.wikipedia.org/wiki/Newton&#39;...al_gravitation

    Assign counters to each (5 counters), counter nf12 is f12, counter nm1 is m1, (n is for newton and keeps them alphabetical) etc. Set the counters condition to always or when an event occurs.

    nf12 = ng((nm1*nm2)/(nr*nr)) -- you might need an extra set of parenthesis. I think this will work.

  6. #6
    Clicker Fusion 2.5 DeveloperiOS Export ModuleSWF Export Module
    XStar's Avatar
    Join Date
    Feb 2012
    Location
    Winchester, VA
    Posts
    1,165
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks!

  7. #7
    Clicker Multimedia Fusion 2SWF Export Module
    Jacob's Avatar
    Join Date
    Jul 2007
    Location
    Second pixel to the right
    Posts
    3,208
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    While this will work, it'd be much more efficient to use Kepler's Laws rather than Universal Gravitation if you're having multiple bodies. Eliyahu uploaded an example of it ages ago; you can probably find it by searching.

  8. #8
    Clicker Fusion 2.5 DeveloperiOS Export ModuleSWF Export Module
    XStar's Avatar
    Join Date
    Feb 2012
    Location
    Winchester, VA
    Posts
    1,165
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I'll take a look!

Similar Threads

  1. Advanced function?
    By twister in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 20th December 2010, 11:33 AM
  2. Advanced techniques in MMF2
    By SEELE in forum Articles
    Replies: 10
    Last Post: 14th May 2009, 04:04 PM
  3. [Request]Advanced Registry Object MMF2 Version
    By Ran_TH in forum Extension Development
    Replies: 8
    Last Post: 17th November 2008, 04:02 PM
  4. TTS Advanced
    By z33z in forum Released Extensions
    Replies: 1
    Last Post: 30th January 2008, 02:31 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
  •