Turret going around the stand

Game Editor comments and discussion.

Turret going around the stand

Postby GuitarManGuitar » Sun Oct 28, 2007 5:46 pm

I made a 16 22.5 angle turret rotation animation.
The way i made it is so that the place where the turret
rotates is the center of it where the barrel is.
The turret was suspossed to rotate on the end of it.
Do i have to remake the animation or can i use an
equation? If you know the equation, please tell me.
:? :? :? :? :? :? :? :? :? :? :? :? :? :? :?
GuitarManGuitar
 
Posts: 31
Joined: Thu Oct 25, 2007 11:57 pm
Score: 0 Give a positive score

Re: Turret going around the stand

Postby GuitarManGuitar » Sun Oct 28, 2007 10:37 pm

Never mind, i found the equation.
For whoever needs it; here it is:

y=cos((angle/-360)*6.28)*7;
x=sin((angle/-360)*6.28)*7;
GuitarManGuitar
 
Posts: 31
Joined: Thu Oct 25, 2007 11:57 pm
Score: 0 Give a positive score


Return to GE - General

Who is online

Users browsing this forum: No registered users and 1 guest

cron