Calculus... bleck
#6

Quote:
Originally Posted by dracar
Thats nice, works for now, still dont understand it though lol
You want an explanation, mh, thats a good picture

The first number is cosine and the second after the comman sine (thats a unit circle), so


cos(0°) = 1, cos(90°) = 0, cos(180°) = -1, cos(270°) = 0 (calculates the X)
sin(0°) = 0, sin(90°) = 1, sin(180°) = 0, sin(270°) = -1 (calculates Y)

and the other numbers you only need to know for sure if you are gonna study

and because the angle in GTA San Andreas start at the "normal" 90° we just could do (Angle + 90.0) or the more famous methode switching the trigonometric functions and put a minus before the Angle

Or just read the en.wiki page about Unit circle (its not rly long)

Hope that helped a bit
Reply


Messages In This Thread
Calculus... bleck - by dracar - 03.04.2010, 00:29
Re: Calculus... bleck - by adsy - 03.04.2010, 00:35
Re: Calculus... bleck - by dracar - 03.04.2010, 00:58
Re: Calculus... bleck - by adsy - 03.04.2010, 00:59
Re: Calculus... bleck - by dracar - 03.04.2010, 01:26
Re: Calculus... bleck - by Nero_3D - 03.04.2010, 01:28

Forum Jump:


Users browsing this thread: 1 Guest(s)