User Tag List

Results 1 to 2 of 2

Thread: Angle between 2 floating point coordinates?

  1. #1
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)
    King_Cool's Avatar
    Join Date
    Aug 2008
    Posts
    2,335
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Angle between 2 floating point coordinates?

    Hi
    I am trying to find the Angle between two Floating Point coordiantes in MMF2.

    I have tried the ADO object, but it doesnt seems to be able to handle it ( not 100% sure though ).

    How can i determin the Angle between 2 Floating Point coordinates in MMF2?

  2. #2
    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)
    Angle = ATan2(Y1-Y2,X2-X1)

    Where Y1 and X1 are the coordinates of the object, and Y2 and X2 are the coordinates of the target.

Similar Threads

  1. Replies: 4
    Last Post: 8th June 2012, 12:50 AM
  2. Coordinates +1 movement, move to specifies point
    By ASD in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 22nd December 2009, 11:16 AM
  3. [Bug]Floating Point issues
    By xyzzy in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 10th January 2008, 12:13 AM
  4. Floating Point Arrays?
    By Dines in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 1st January 2008, 11:00 PM
  5. Don't know how to use floating point values
    By garciafigueres in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 4th January 2007, 07:30 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
  •