# Blueprint pawn movement

**URL:** <https://forums.unrealengine.com/t/blueprint-pawn-movement/342667>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine\
**Created:** [December 29, 2015, 9:55pm UTC](https://forums.unrealengine.com/t/blueprint-pawn-movement/342667 "2015-12-29T21:55:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_23bd2035](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_23bd2035](https://forums.unrealengine.com/u/anonymous_user_23bd2035)\
**Post date:** [December 29, 2015, 9:55pm UTC](https://forums.unrealengine.com/t/blueprint-pawn-movement/342667/1 "2015-12-29T21:55:07Z")

</div>

Hi all, I am fairly new to UE4 and coming from Unity so I can get my head around things in script but I am struggling to get my head around BP.

I would like to achieve the affect of a pawn moving down screen at a constant rate, whilst rotating around its own axis with a randomised side to side ping pong movement.

If that did not make sense, I want the side to side movement from the power ups in this video tutorial: [Using BP Components for Game Behaviour | Live Training | Unreal Engine - YouTube](https://www.youtube.com/watch?v=qr4ZjieAQKY&list=PLUvPgeSAn6KgK6jX57Qg02Psy46k2fehF&index=9)  
and the rotation of the powerups in this tutorial: [Endless Runner: Adding Pickup Items | 04 | v4.7 Tutorial Series | Unreal Engine - YouTube](https://www.youtube.com/watch?v=sNueIWCKoco)

I am making a small shmup like in the first video I linked, this is really just a learning exercise, but I know this is possible and I am guessing I just don’t know the names of the blueprint language I should be looking at.

So far I have this

 ![72219-movement.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/d/4/cd43ba748c3c33662a2882a0141320ee1df72f0e.png)

to move the enemy down screen and is working fine. But if I try any of the rotation or side movement everything starts moving around bizarre axis, I would post screens of my attempts to show I am not just begging for someone to finish my work, but I fear I am so far off the mark it would be better to just learn it the correct way from someone :D.

Thanks in advance, I appreciate your time.

---

<div class="post-metadata">

**Author:** ![jeeb](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@jeeb](https://forums.unrealengine.com/u/jeeb)\
**Post date:** [December 29, 2015, 10:32pm UTC](https://forums.unrealengine.com/t/blueprint-pawn-movement/342667/2 "2015-12-29T22:32:38Z")

</div>

I’d try looking into using a timeline. You could handle location and rotation each with their own vector track, easily loop if needed. Then you feed those into a SetLocationAndRotation node on the Update exec pin.

[https://docs.unrealengine.com/latest/INT/Engine/Blueprints/UserGuide/Timelines/index.html](https://docs.unrealengine.com/latest/INT/Engine/Blueprints/UserGuide/Timelines/index.html)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_0e77bf1c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_0e77bf1c](https://forums.unrealengine.com/u/anonymous_user_0e77bf1c)\
**Post date:** [December 29, 2015, 10:34pm UTC](https://forums.unrealengine.com/t/blueprint-pawn-movement/342667/3 "2015-12-29T22:34:07Z")

</div>

Nice, thanks for the quick reply, I shall give that a try now.
