Do you know what the unit circle is? It''s a circle and it''s center is the origin (0, 0). It has a radius of 1. Now you can use cosine and sine to find the coordinates of the point (1,0) rotated on the circle.
So if you want to rotate (1, 0) 90 degrees you would do
x = cos(90)
x = 0
y = sin(90)
y = 1
so the new coordinates would be (0, 1)
that probably doesn''t make sense. This link will explain it http://www.rookscape.com/vbgaming/tutBK.php
hi, can you give me the formula, i would like to have a wave-like movement of my
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement