Better understanding of Sine/Cosine?
Posted: Tue Oct 07, 2014 1:29 am
Hi! I'd like to rotate small objects around the center of the screen, based on how far off they are... For example, if it's about 5 pixels from the center, and I "rotate", I want that object to go around the center within that 5 pixel radius, 25 pixels, I'd like it to go around the center on a 25 pixel radius. If anybody knows how I can do this, please tell me lol, I've tried using sine/cosine, but since you can only do a max of sin(1), which prettymuch is "jitter" mode, I don't understand the math needed to calculate it....