# Converting a rotation angle to a direction of motion

**URL:** <https://forum.kirupa.com/t/converting-a-rotation-angle-to-a-direction-of-motion/321796>\
**Category:** flash\
**Created:** [May 1, 2011, 10:22pm UTC](https://forum.kirupa.com/t/converting-a-rotation-angle-to-a-direction-of-motion/321796 "2011-05-01T22:22:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![cermunnos](https://avatars.discourse-cdn.com/v4/letter/c/ebca7d/32.png) [@cermunnos](https://forum.kirupa.com/u/cermunnos)\
**Post date:** [May 1, 2011, 10:22pm UTC](https://forum.kirupa.com/t/converting-a-rotation-angle-to-a-direction-of-motion/321796/1 "2011-05-01T22:22:33Z")

</div>

I have a rotation value in degrees(0-360) and a value for magnitude, ie (1-10 pixels per second).

How to apply this information to determine what to add to an objects x and y values to send the object off in a given direction at a given speed ?
