# FINALLY got mesh to rotate towards velocity, but one final bug holding BP back

**URL:** <https://forums.unrealengine.com/t/finally-got-mesh-to-rotate-towards-velocity-but-one-final-bug-holding-bp-back/434708>\
**Category:** World Creation\
**Tags:** rotation, unreal-engine, acceleration, velocity, Blueprint, question\
**Created:** [September 29, 2018, 8:46am UTC](https://forums.unrealengine.com/t/finally-got-mesh-to-rotate-towards-velocity-but-one-final-bug-holding-bp-back/434708 "2018-09-29T08:46:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lazy\_Lifeguard](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Lazy\_Lifeguard](https://forums.unrealengine.com/u/Lazy_Lifeguard)\
**Post date:** [September 29, 2018, 8:46am UTC](https://forums.unrealengine.com/t/finally-got-mesh-to-rotate-towards-velocity-but-one-final-bug-holding-bp-back/434708/1 "2018-09-29T08:46:21Z")

</div>

![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/1/2/b12a3bfabd74edbc95eedce130b5e38aa3fd7965.png)

I have been attempting to get my mesh to rotate in the direction of the actor’s velocity for three days now and I’m finally near the end of the issue. However, the only bug remaining with this feature is that when facing directly south the mesh snaps around due to the world rotation value being 0.

I’m so close to being done and I told myself I wouldn’t sleep until it was but it’s 2am and I just can’t crack this. If anyone knows how to get my pitch to adapt to my velocity then I will be extremely grateful.

---

<div class="post-metadata">

**Author:** ![mightyenigma](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mightyenigma](https://forums.unrealengine.com/u/mightyenigma)\
**Post date:** [November 25, 2018, 2:33am UTC](https://forums.unrealengine.com/t/finally-got-mesh-to-rotate-towards-velocity-but-one-final-bug-holding-bp-back/434708/2 "2018-11-25T02:33:29Z")

</div>

i think there is a checkbox that Does this for you, at least in Charactermovement component on character pawn classes.
