sorry i went on vacation - i hope you're still there.
my character rotation setting things are
not gonna lie - i have no idea what this is doing :/Code:char.onMouseMove = function(){ var __x = _xmouse-this._x; var __y = _ymouse-this._y; angle=Math.atan2(__y,__x)*180/Math.PI; this._rotation = angle + 180; }
ok i get it all... but i dont get the "angle=" line




Reply With Quote