# How do you convert a rotator to a direction vector?

**URL:** <https://forums.unrealengine.com/t/how-do-you-convert-a-rotator-to-a-direction-vector/470646>\
**Category:** Community & Industry Discussion\
**Tags:** math, torque, rotator, rotation, unreal-engine, vector, question\
**Created:** [September 1, 2020, 4:12pm UTC](https://forums.unrealengine.com/t/how-do-you-convert-a-rotator-to-a-direction-vector/470646 "2020-09-01T16:12:20Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Unisink2020](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Unisink2020](https://forums.unrealengine.com/u/Unisink2020)\
**Post date:** [September 1, 2020, 4:12pm UTC](https://forums.unrealengine.com/t/how-do-you-convert-a-rotator-to-a-direction-vector/470646/1 "2020-09-01T16:12:20Z")

</div>

I’m trying to make an item fall over at your angle of approach, like it’s so light it just falls when you get near, but it has to fall away from you. So far I can’t figure out what to plug into the torque node. Anyone familiar with this?

---

<div class="post-metadata">

**Author:** ![Tuerer](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/tuerer/32/1008648_2.png) [@Tuerer](https://forums.unrealengine.com/u/Tuerer)\
**Post date:** [September 1, 2020, 5:13pm UTC](https://forums.unrealengine.com/t/how-do-you-convert-a-rotator-to-a-direction-vector/470646/2 "2020-09-01T17:13:30Z")

</div>

If I correctly understand what you want to do:

 ![312061-torque.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/b/4/8b463034aea95331df0827209d974dda4a136733.png)

---

<div class="post-metadata">

**Author:** ![Tuerer](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/tuerer/32/1008648_2.png) [@Tuerer](https://forums.unrealengine.com/u/Tuerer)\
**Post date:** [September 1, 2020, 5:16pm UTC](https://forums.unrealengine.com/t/how-do-you-convert-a-rotator-to-a-direction-vector/470646/3 "2020-09-01T17:16:40Z")

</div>

Wait, you can make that easier:

 ![312062-torque2.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/3/9/1390c3886d6ca9705427e254f93781ebc5ba5138.png)

Note that the float value is positive in this case.

---

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [September 1, 2020, 5:22pm UTC](https://forums.unrealengine.com/t/how-do-you-convert-a-rotator-to-a-direction-vector/470646/4 "2020-09-01T17:22:31Z")

</div>

![312063-annotation-2020-09-01-182105.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/1/5/015a8eeac6f4a2fad4872c0fa8efa94f787305f2.jpeg)

[![Image from Gyazo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/b/b/7bbfda660427851691ae03081d13f84a51c82a3f.gif)](https://gyazo.com/5bf22fe530c56601bd677bb247415df5)

Too late… but still fun.
