My other thread didnt attract you, so maybe this will.i want my tank's machine gun to point where the mouse is. i have this code on first frame of _root timeline, and check out the source to see what i mean. it doesnt work. anyone know how to fix it? thanks.
Flash does weird things with that code when placed directly on the Movie Clip you're trying to rotate. You need a second MC to hold the code. Look carefully at your tank MC near the machine gun and you'll find the anglefinder MC to make this thing work. Also, your code itself needed a little tweaking.
hey thanks alot, my other question was how do i make a bullet come out facing the right way and heading the right way? I have my other thread below this one