
08-18-2003, 08:28 AM
|
|
Former Classic Staff
|
 |
Join Date: Dec 2002
Location: Northwest Vermont
Posts: 1,452
|
|
|
Maybe if I took the equation for the x and y and replaced x and y with playerx and playery and angle with playerangle and solved for playerangle? Doing this I get stuck at what to do when I have to take out of the function because I forgot all of my math classes over summer break.
Where I'm at though:
(playerx-centerx)/radius = sin(playerangle/180*pi)
(playery-centery)/radius = cos(playerangle/180*pi)
can anyone help out? |
|
|
|