RE: [Flashcoders] Scripted Angled Motion

2006-10-12 Thread Alain Rousseau
Hi Kevin, It's quite simple actually. If you know the angle (it need to be in radians) all you need after that is the speed of motion. To know the movement in the x axis it's the cosine of the angle, for the y axis, it's the sine of the angle so you will have the following : mc._x =

RE: [Flashcoders] Scripted Angled Motion

2006-10-12 Thread Kevin Aebig
12, 2006 1:22 PM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] Scripted Angled Motion Hi Kevin, It's quite simple actually. If you know the angle (it need to be in radians) all you need after that is the speed of motion. To know the movement in the x axis it's the cosine of the angle