User Tag List

Results 1 to 2 of 2

Thread: Angle calculator in MMF2

  1. #1
    No Products Registered

    Join Date
    Jul 2007
    Posts
    45
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Angle calculator in MMF2

    Ok, so I have this following event in MMF1 done with Angle Calculator object, which is unavailable for MMF2. I searched the forum on how to do this in MMF2, but still struggling to use either Atan() or Clickteam Movement Controller to retrieve the angle between two objects correctly.

    So what equation should I use to get the exact same value than this event with Angle Calculator:

    Anglebp( "Angle Calculator", X( "Active" ), Y( "Active" ), X( "Active 2" ), Y( "Active 2" ))*-1

    Thanks!

  2. #2
    No Products Registered

    Join Date
    Oct 2006
    Location
    Sweden
    Posts
    1,141
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Angle calculator in MMF2

    Use Atan2:
    Atan2( Y( "Active 2" )-Y( "Active" ), X( "Active 2" )-X( "Active" ) )*-1

    Atan2 only exists in the latest build, so make sure you've updated MMF.
    In HWA you have to use some other extension, like the Advanced Direction Object.

Similar Threads

  1. Opening Angle Calculator in MMF2
    By willy in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 19th July 2010, 05:47 PM
  2. angle calculator
    By rogiedodgie32 in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 7th February 2010, 02:57 AM
  3. Angle Calculator for MMF2?
    By integrality in forum Extension Development
    Replies: 3
    Last Post: 11th December 2006, 05:36 PM
  4. Angle Calculator
    By willy in forum Extension Development
    Replies: 2
    Last Post: 13th August 2006, 06:02 PM
  5. Direction and Angle calculator
    By dustingunn in forum Multimedia Fusion 2 - Technical Support
    Replies: 31
    Last Post: 19th July 2006, 06: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
  •