# Rotate mesh towards Toss velocity

**URL:** <https://forums.unrealengine.com/t/rotate-mesh-towards-toss-velocity/622411>\
**Category:** Blueprint\
**Tags:** unreal-engine, UE5-0, Blueprint, question\
**Created:** [August 6, 2022, 2:24am UTC](https://forums.unrealengine.com/t/rotate-mesh-towards-toss-velocity/622411 "2022-08-06T02:24:42Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![SupportiveEntity](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SupportiveEntity](https://forums.unrealengine.com/u/SupportiveEntity)\
**Post date:** [August 6, 2022, 3:26am UTC](https://forums.unrealengine.com/t/rotate-mesh-towards-toss-velocity/622411/2 "2022-08-06T03:26:44Z")

</div>

Hey @FinalRockstar, so if I’m understanding the problem correctly, you’re pathing the arc from the projectile socket but want to rotate the gun itself and not a projectile of it, and you just want the gun itself to rotate towards it’s current velocity?

I myself have only ever used the projectile component since it has this functionality built in, however there’s more custom approaches to this. I came across a thread that does just a basic turn object to it’s velocity but I feel like I’m missing something with the casting from the projectile shooting socket.

> [@Rotate an towards object velocity direction](https://forums.unrealengine.com/t/rotate-an-towards-object-velocity-direction/470840/2):
>
> 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: 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.

Let me know if I’m off base, a clarification might get me sorted!

---

_[View the full topic](https://forums.unrealengine.com/t/rotate-mesh-towards-toss-velocity/622411)._
