# Rotate an towards object velocity direction

**URL:** <https://forums.unrealengine.com/t/rotate-an-towards-object-velocity-direction/470840>\
**Category:** XR Development\
**Tags:** direction, rotation, unreal-engine, FeatureRequest, Physics, velocity, question\
**Created:** [September 5, 2020, 2:14am UTC](https://forums.unrealengine.com/t/rotate-an-towards-object-velocity-direction/470840 "2020-09-05T02:14:29Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![WillWeaver](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@WillWeaver](https://forums.unrealengine.com/u/WillWeaver)\
**Post date:** [September 5, 2020, 5:08am UTC](https://forums.unrealengine.com/t/rotate-an-towards-object-velocity-direction/470840/2 "2020-09-05T05:08:42Z")

</div>

The simplest way would probably be to add a projectile movement component to the object. That has a built in function for making the object rotate towards its movement direction.

Alternatively, you can do something like this:

 ![312447-capture.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/c/4/dc4594218f1ade808908082ca09b5eaece68abcc.png)

Add on some rotation interp to smooth it out, but that itself will give you the rotation you want, assuming the actor’s “forward” is along positive X in local space.

---

_[View the full topic](https://forums.unrealengine.com/t/rotate-an-towards-object-velocity-direction/470840)._
