Rotate around cursor
Hello.
A while ago a saw an AS2 class which faked some 2D physics, it had throw physics in it with bounds which I can move to AS3 easy enough, but the one thing I cant figure out is the rotation. You could grab a rectangular movie clip on one end and 'fling' it around in circles, let go of the mouse and it would fly off and slowly stop, rotation as well as translation.
I don't want to have to use a physics engine for this cheat, I'd like to take that AS2 code and update it. I can't find the thing anywhere, so am asking here.
Any help, pointers would be greatly apprecited.
A.
|