|
-
I am creating a simple movie based on the 'movement-joystick' sample in flash MX. I am moving a tank around the screen using an on screen joystick and I want the gun turret on the tank to rotate slower than the tank but eventually catch up if the position is maintained (if that makes sense!!). I am currently setting the rotation of the tank to the rotation of the on screen joystick movieclip.
Also when I fire the cannon on the tank I want to calculate the angle of the gun turret and recoil the whole tank based on the turret angle. The recoil would need the _x and _y of the tank to be affected but based on the turret angle.
Any help would be greatly appreciated.
Keene
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|