View Single Post
  #6  
Old 10-09-2002, 02:03 AM
Com013 Com013 is offline
Registered User
Join Date: Aug 2002
Location: GMT+1
Posts: 381
Com013 is on a distinguished road
Re: Newb Gift: Circular Movement

Quote:
Originally posted by emortylone
Using sine (sin) is generally applied to the x value. Using cosine(cos) is generally applied to the y value
No! The other way 'round! Normally a mathematical cricle starts right and continues counter-clockwise. In graal it'd be:
xvalue = cos(angle)
yvalue = -sin(angle)
"getangle" is doing the same, so to be compatible, just follow this.
__________________
Com013
Former Admin of the LAT on Graal The Adventure

e-mail: [email protected]
Reply With Quote