+ Reply to Thread
Results 1 to 5 of 5

Thread: E2 Trigonometry

  1. #1
    Wire Amateur |S'N|Blaze's Avatar
    Join Date
    Aug 2009
    Posts
    76

    Question E2 Trigonometry

    Im learning Trigonometry at school!

    BUT ....

    is there a tutorial about E2 Trig ?

    If there is Please post the link

    Thanks
    Blaze




    GENERATION 8: The first time you see this, copy it into your sig on any forum and add 1 to the generation.
    Social experiment.

  2. #2
    has a custom title mattwd0526's Avatar
    Join Date
    Apr 2009
    Location
    Born Bostonian
    Posts
    2,652

    Default Re: E2 Trigonometry

    Right here:

    sin(X) returns the opposite/hypotenuse ratio to angle x
    cos(X) returns the adjacent/hypotenuse ratio to angle x
    tan(X) returns the opposite/adjacent ratio to angle x

    Inverses return the angle from the ratio. This is in degrees. If you want radians there is sinr, cosr, tanr.

    If you want to know how it is frequently used: it is done to make circles.
    X=sin(Time)
    Y=cos(Time)
    Position something at those coordinated (use multipliers if necessary) and so long as it triggers and time increases, they will move in a circle. curtime() is a good way to get a constantly increasing time.

  3. #3
    Wire Amateur |S'N|Blaze's Avatar
    Join Date
    Aug 2009
    Posts
    76

    Default Re: E2 Trigonometry

    Quote Originally Posted by mattwd0526 View Post
    Right here:

    sin(X) returns the opposite/hypotenuse ratio to angle x
    cos(X) returns the adjacent/hypotenuse ratio to angle x
    tan(X) returns the opposite/adjacent ratio to angle x

    Inverses return the angle from the ratio. This is in degrees. If you want radians there is sinr, cosr, tanr.

    If you want to know how it is frequently used: it is done to make circles.
    X=sin(Time)
    Y=cos(Time)
    Position something at those coordinated (use multipliers if necessary) and so long as it triggers and time increases, they will move in a circle. curtime() is a good way to get a constantly increasing time.

    WOW Thanks Thats All i needed to know





    GENERATION 8: The first time you see this, copy it into your sig on any forum and add 1 to the generation.
    Social experiment.

  4. #4
    has a custom title mattwd0526's Avatar
    Join Date
    Apr 2009
    Location
    Born Bostonian
    Posts
    2,652

    Default Re: E2 Trigonometry

    You will rarely find a use for trig in garrysmod (as it is intended to be used).

  5. #5
    Wire Sofaking jacoby6000's Avatar
    Join Date
    Feb 2008
    Location
    behind you when you aren't looking
    Posts
    792

    Default Re: E2 Trigonometry

    That used to be a lie, you used to have to use trig to get a players head posistion accurately! Also, you can use it for holos, with more advanced stuff (programming physics into them)
    Quote Originally Posted by Garrysmod View Post
    Warning: You're trying to render in the wrong place. This doesn't play nice with multi-core rendering, so we're not going to let you draw here.
    I'm not stupid!
    In [his] experience that was a sentence never to be uttered except to prove its own inaccuracy
    --Orson Scott Card

+ Reply to Thread

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
proceed-collector
proceed-collector
proceed-collector
proceed-collector
linguistic-parrots
linguistic-parrots
linguistic-parrots
linguistic-parrots