# Object velocity rotatation

**URL:** <https://forums.unrealengine.com/t/object-velocity-rotatation/210172>\
**Category:** Community & Industry Discussion\
**Tags:** unreal-engine\
**Created:** [March 6, 2021, 3:53am UTC](https://forums.unrealengine.com/t/object-velocity-rotatation/210172 "2021-03-06T03:53:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lidzs](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Lidzs](https://forums.unrealengine.com/u/Lidzs)\
**Post date:** [March 6, 2021, 3:53am UTC](https://forums.unrealengine.com/t/object-velocity-rotatation/210172/1 "2021-03-06T03:53:58Z")

</div>

Hello all!

I am creating 2nd person ball rolling game and I have run in to a problem, I want to use “W” as accelerator (AddForce) and “Y” axis mouse movement (AddLocalRotation) as steering, however, once ball gains high velocity in one direction it ignores “Yaxis” mouse steering unless “W” is pressed and additional force added in new direction.  
Is there a way to make velocity follow camera rotation?

Thanks!

---

<div class="post-metadata">

**Author:** ![MostHost\_LA](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mosthost_la/32/907035_2.png) [@MostHost\_LA](https://forums.unrealengine.com/u/MostHost_LA)\
**Post date:** [March 6, 2021, 7:57am UTC](https://forums.unrealengine.com/t/object-velocity-rotatation/210172/2 "2021-03-06T07:57:20Z")

</div>

Don’t use add force?

Basixlcally your “steering” doesn’t exist.  
you are just rolling the ball towards the same direction.

Then you just arbitrarily rotate the object.  
Obviously, if there is no rolling there’s no visible sterring.

My advice would be to rethink the approach and base it on some perhaps more typical player controllers.

Try this tutorial. See if the base is a bit better for what you need.

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/a/5/1a51f76fe30d145c052c45e57205adb1ad951dc1.jpeg "Controlling pawn movement with a Floating Pawn Movement component in UE4") ](https://www.youtube.com/watch?v=c30nwXJz9GY)

---

<div class="post-metadata">

**Author:** ![Lidzs](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Lidzs](https://forums.unrealengine.com/u/Lidzs)\
**Post date:** [March 7, 2021, 11:17pm UTC](https://forums.unrealengine.com/t/object-velocity-rotatation/210172/3 "2021-03-07T23:17:49Z")

</div>

Thanks for suggestion MostHost LA! I looked in to it, but probably because of my incompetence I couldn’t make it to work like I wanted.  
However, after two days, I think I managed to solve my problem, at least for now it seams fine (still needs some tweaking).  
Solution is in attached picture - basically I got value of added forces vector and constantly multiplie it by component vector, then SET it as velocity value. Angular Damping is needed so actor doesn’t wobble and mass center had to be moved forward by “1”, so added forces won’t lift nose up and it won’t jump all the time.

I hope this helps someone else in need and again thanks for support MostHost LA!
