User Tag List

Results 1 to 6 of 6

Thread: Extension-free Angle Calculating for Nifflas

  1. #1
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export ModuleUnicode Add-on
    LIJI's Avatar
    Join Date
    Jun 2006
    Location
    Israel
    Posts
    1,175
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Extension-free Angle Calculating for Nifflas

    An extension-free Angle Calculation for Nifflas using ATan(Y/.
    It also uses extra 2 events for X=0 and/or Y=0.

    Edit: It seems to output incorrect values when X<0. Is MMF2 miscalculating ATan? I will try and fix it.
    Edit2: Fixed bug with an extra event. also added an event to range it from 0 to 359
    Attached files Attached files

  2. #2
    Clicker Multimedia Fusion 2 DeveloperiOS Export Module
    Nifflas's Avatar
    Join Date
    Jul 2006
    Posts
    2,613
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Extension-free Angle Calculating for Nifflas

    Here's the solution I usually use, but as LIJI recommended another I asked him to post an example of it.

    If you want to try something really crazy, Here's my one-expression solution, featuring one of the world's most insane ways to calculate the distance between two points. I can't really recommend using anything this messy.

  3. #3
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export ModuleUnicode Add-on
    LIJI's Avatar
    Join Date
    Jun 2006
    Location
    Israel
    Posts
    1,175
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Extension-free Angle Calculating for Nifflas

    I have to say that MMF2 really lacks the Atan2() function. How possible it is to add it in the next build? It shouldn't be hard.

  4. #4
    Clicker Multimedia Fusion 2
    dragonguy's Avatar
    Join Date
    Apr 2008
    Location
    RULE BRITANNIA!
    Posts
    3,071
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Extension-free Angle Calculating for Nifflas

    I cannot believe you both did that without using an advanced direction object

  5. #5
    Clicker Fusion 2.5 DeveloperSWF Export ModuleUnicode Add-on
    Looki's Avatar
    Join Date
    Aug 2006
    Location
    Karlsruhe, Germany
    Posts
    3,739
    Mentioned
    5 Post(s)
    Tagged
    1 Thread(s)

    Re: Extension-free Angle Calculating for Nifflas

    dragonguy, what do you think the advanced direction object does? :PP
    No, it does not send a guy to measure the angle. ;P

  6. #6
    Clicker Fusion 2.5 Developer

    Join Date
    Jan 2007
    Location
    USA
    Posts
    691
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Extension-free Angle Calculating for Nifflas

    Quote Originally Posted by Looki
    dragonguy, what do you think the advanced direction object does? :PP
    No, it does not send a guy to measure the angle. ;P
    lol :grin:

Similar Threads

  1. iOS Angle Extension
    By Keith in forum iOS Extensions
    Replies: 3
    Last Post: 10th May 2013, 07:21 PM
  2. How to Read free space of HDD or USB-STICK? > Extension? ( mmf2 dev.)
    By michaeldunge in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 26th July 2012, 08:43 PM
  3. Replies: 4
    Last Post: 8th June 2012, 01:50 AM
  4. Nifflas Object
    By Nifflas in forum Released Extensions
    Replies: 3
    Last Post: 27th April 2009, 11:04 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
  •