Re: Flash Help
It uses the players origin, and another object's origin. Then it gets the tangent of that angle and then converts the radians to degrees and applies them to player rotation.
Code:
radians = (Math.atan2(this._y-slopedot._y, this._x-slopedot._x));
degrees = radians*(Math.PI/180);
this._rotation = degrees;
Re: Flash Help
Limited's link isn't working for me =/. It's saying I need a member's account or something.
Re: Flash Help
What about the one on the other page?
GAH FUCKERS BLOCKING MY HOTLINKS
Ill host the god damn thin myself
Re: Flash Help
Cant imageshack host swf's?
Re: Flash Help
You have to download some gay toolbar or something, f-that
Re: Flash Help
Huh, this might come in handy. I'm trying to do collisions between circles. Gave me an idea.