User Tag List

Page 2 of 2 FirstFirst 1 2
Results 11 to 16 of 16

Thread: Question for Sin, Cos, Tan Experts. (pictures)

  1. #11
    Clicker

    Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS 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)Universal Windows Platform Export Module (Steam)

    Join Date
    Jun 2006
    Location
    Killeen, TEXAS
    Posts
    1,062
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)

    Re: Question for Sin, Cos, Tan Experts. (pictures)

    also note in MMF, angle [zero] faces directly down; 180 up, 270 left and 90 = right.

  2. #12
    Clicker Multimedia Fusion 2
    SEELE's Avatar
    Join Date
    Jul 2007
    Location
    Terra australis incognito
    Posts
    1,916
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Question for Sin, Cos, Tan Experts. (pictures)

    OOOww, you know, i gave up on a virtual host a while back because it always spat out an 90 offset value and it was mmf's fault the whole time hehe, i guess i might finish it then.

  3. #13
    No Products Registered

    Join Date
    Jun 2006
    Posts
    1,630
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Question for Sin, Cos, Tan Experts. (pictures)

    Thanks for all your attention. I need a little help in two particle effects that I'm working on, that should be updated in the particle effects thread at the file archive.

    How to assign a directional force (like gravity)to the expression
    Value_B( "particle" )+(Cos(Value_A( "particle" )*-1.0)*Value_E( "particle" ))
    and
    Value_C( "particle" )+(Sin(Value_A( "particle" )*-1.0)*Value_E( "particle" ))

    of example "Simple Spread"? (it's located in this example here:http://www.clickteam.com/epicenter/ubbthreads.php?ubb=showflat&Number=81531&fpart=1 in the particlelibrary2.zip only)


    The other help is, I have an ellipse movement, let's say earth and sun, represented in the expression below.
    Always set
    X pos to --> (Sin(Global Value A)*50)+X( "sun" )
    Y pos to --->(Cos(Global Value A)*100)+Y( "sun" )
    in the expression above how do I "tilt" this movement? see image below for visual representation


  4. #14
    Clicker Multimedia Fusion 2
    SEELE's Avatar
    Join Date
    Jul 2007
    Location
    Terra australis incognito
    Posts
    1,916
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Question for Sin, Cos, Tan Experts. (pictures)

    for the diagonal one, set x to 'xpole+((0.5+(cos*0.5))* distance to rigthx pole) and similarly the other.

  5. #15
    No Products Registered

    Join Date
    Jun 2006
    Posts
    1,630
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Question for Sin, Cos, Tan Experts. (pictures)

    thanks SEELE, just to make sure, this formula works with any angle or just 45 degrees? And what should be the difference between the Xpole to the distance to the right Xpole'? I assume the "xpole" you mention is the value that determinates how far the the ball orbits in the X axis? (from one pole to another)

  6. #16
    Clicker Multimedia Fusion 2
    SEELE's Avatar
    Join Date
    Jul 2007
    Location
    Terra australis incognito
    Posts
    1,916
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Question for Sin, Cos, Tan Experts. (pictures)

    YES!, and you would need to change the formula a little:


    set x to 'xpole+((g+(cos*j))* distance to rigthx pole)
    set y to 'ypole+((g+(sin*j))* distance to bottomy pole)

    The 'g' represents the left pole offset and the 'j' represents the right pole offset, so a full circle would be g=0 j=1 & 45 degree on the left axis would be g=0 & j=0.5 and that works for everything inbetween.

    Good Luck.

    ow and the distance basicly represents the size of the circle so if your circle is 16*16 then your 'distance to rigthx pole' is 16.

Page 2 of 2 FirstFirst 1 2

Similar Threads

  1. converting pictures to active pictures
    By andrew36 in forum The Games Factory 2 - Technical Support
    Replies: 1
    Last Post: 11th September 2013, 04:55 PM
  2. Experts please help
    By DAH in forum The Games Factory 2 - Technical Support
    Replies: 3
    Last Post: 16th September 2009, 11:10 AM
  3. Question Maker Using Text & Pictures
    By drnebula in forum Multimedia Fusion 2 - Technical Support
    Replies: 9
    Last Post: 17th February 2007, 05:06 AM
  4. Question for ODBC experts
    By Wingamez in forum Multimedia Fusion 2 - Technical Support
    Replies: 31
    Last Post: 13th July 2006, 06:07 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
  •