# Easing help

**URL:** https://forum.kirupa.com/t/easing-help/178016
**Category:** Uncategorized
**Created:** [February 7, 2006, 4:42am UTC](https://forum.kirupa.com/t/easing-help/178016 "2006-02-07T04:42:04Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![zicemaster](https://avatars.discourse-cdn.com/v4/letter/z/b77776/32.png) [@zicemaster](https://forum.kirupa.com/u/zicemaster)
#### Post date: [February 7, 2006, 4:42am UTC](https://forum.kirupa.com/t/easing-help/178016/1 "2006-02-07T04:42:04Z")

</div>

Been trying for an hour, cannot figure out how to put any easing into the rotation for the life of me…

```auto

            mouseDirection = (Math.atan2(gMouse.y-_y, gMouse.x-_x)/Math.PI*180)+180;
            _rotation=mouseDirection;

//Some attempts:::

            //_x -= _root.rocketSpeed*Math.cos(mouseDirection*Math.PI/180);
            //_y -= _root.rocketSpeed*Math.sin(mouseDirection*Math.PI/180);
            //Radians = _rotation*Math.PI/180;
            //_x += Math.sin(Radians)*5;
            //_y -= Math.cos(Radians)*5;

```
