User Tag List

Results 1 to 3 of 3

Thread: Trig question.

  1. #1
    Clicker Fusion 2.5 DeveloperiOS Export Module
    ChrisBurrows's Avatar
    Join Date
    May 2011
    Location
    Tasmania, Australia
    Posts
    622
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Trig question.

    Hello,

    If I know the angle and the hypotenuse, what MMF syntax do I use to retrieve the opposite side?

    Sin(angle) = opp / hyp
    Sin(45) = x / 20

    What syntax will give me then length of x?

    Thank you

  2. #2
    Clicker Fusion 2.5 Developer

    Join Date
    Jul 2008
    Location
    UK
    Posts
    1,393
    Mentioned
    16 Post(s)
    Tagged
    0 Thread(s)
    I feel a face-palm coming on...

    sin(45)*20 = x
    (multiply both halves of your equation by 20)

  3. #3
    Clicker Fusion 2.5 DeveloperiOS Export Module
    ChrisBurrows's Avatar
    Join Date
    May 2011
    Location
    Tasmania, Australia
    Posts
    622
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Haha I feel silly. Actually, I worded my question incorrectly.

    I wanted to position a point on a swinging rope and I needed to work out the opposite length based on the angle and the hypotenuse and I couldn't get the syntax correct.

    I figured it out though: Opposite = Hypotenuse * cos(ANGLE-90)

    It was for an example I was making for another thread. Here it is if you are interested.
    Attached files Attached files

Similar Threads

  1. Hyperbolic Trig Functions and their Inverses
    By Gerblegod7 in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 29th May 2012, 11:47 PM
  2. Problem with MMF2 trig functions...
    By Mr_Monkey in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 1st April 2007, 03:23 AM
  3. Trig functions
    By GamesterX23 in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 21st January 2007, 03:12 PM
  4. Positioning objects using trig
    By Isbeorn in forum File Archive
    Replies: 0
    Last Post: 24th September 2006, 10:16 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
  •