# Trouble Cancelling Out Right Component of Velocity

**URL:** <https://forums.unrealengine.com/t/trouble-cancelling-out-right-component-of-velocity/671282>\
**Category:** Blueprint\
**Tags:** actor-blueprint, unreal-engine, question, vectors\
**Created:** [October 17, 2022, 3:42pm UTC](https://forums.unrealengine.com/t/trouble-cancelling-out-right-component-of-velocity/671282 "2022-10-17T15:42:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![JoshSC](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JoshSC](https://forums.unrealengine.com/u/JoshSC)\
**Post date:** [October 17, 2022, 3:42pm UTC](https://forums.unrealengine.com/t/trouble-cancelling-out-right-component-of-velocity/671282/1 "2022-10-17T15:42:52Z")

</div>

I’ve got this pawn that I want to come at the player. As it turns towards the player, it slides around. I want to eliminate this sideways sliding. I would think the blueprint below would do that, but instead it prevents all movement until it turns to a world axis, then rockets away into oblivion. Am I getting the right component of the velocity incorrectly? Am I misusing ‘Add Impulse’? Please help.

 ![Screenshot 2022-10-17 111510](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/3/c/33c7218c977131a864a617744ab68b7dac83eb9f.png)
