I have a clip which orients itself to the mouse using Math.atan2(). The rotation calculation of the clip includes some deceleration to smooth the effect. The calculation goes crazy when: _root._xmouse < clip._x && _root._ymouse > clip._y I can identify in the code when it happens, but need some help to stop it... anyone? See the file attached for an example.
Forum Rules