Advertisement

hi, can you give me the formula, i would like to have a wave-like movement of my

Started by February 23, 2002 01:34 AM
10 comments, last by mickey 22 years, 10 months ago
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

evilclown! haha thanks! i''ve done it!
http://www.dualforcesolutions.comProfessional website designs and development, customized business systems, etc.,

This topic is closed to new replies.

Advertisement