Archived

This topic is now archived and is closed to further replies.

Jackysan

SIN, COS, TAN... Where and Why

Recommended Posts

I''ve recently been honing my math skills a bit. Since clearifying the operators SIN, COS, and TAN, I''ve been wondering when they really come in handy. I''ve seen them mentioned before, especially in 3D apps, but I still don''t understand their signifigance (same goes for a few others too!). Could anyone help clear it up for me a little more? Thanks!

Share this post


Link to post
Share on other sites
trig-functions are *very* important for a variety of reasons. They are an important part of 3D rotations, they can be used to move enemies in simple 2D shooters in a smooth fashion, they can be used to create and control animations, etc. This is due to the nature of a sine wav. If you''re into audio, any audible sound is made up of an infinite number of sine waves.

Any specific application of trig that you''d like to know about in more detail?

Share this post


Link to post
Share on other sites
You must use the trig. functions SIN, COS, ans TAN for making an object point towards another object (in 2D or 3D). TRy and make a program in 2D where a turret shaped object in the centre has to follow a circle, controlled by the keyboard arrow keys, around the screen. Hopefully (if I haven''t overlooked something) you will need to encorporate SIN, COS or TAN (I only needed TAN).

>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Ilthigore-
<<<<<<<<<<<<<<<<<<<<<<<<<<<<

Share this post


Link to post
Share on other sites