# How can i make pawn(flying) move in direction of camera rotation?

**URL:** <https://forums.unrealengine.com/t/how-can-i-make-pawn-flying-move-in-direction-of-camera-rotation/379810>\
**Category:** Blueprint\
**Tags:** control-rotation, unreal-engine, question, Blueprint\
**Created:** [December 20, 2016, 3:44pm UTC](https://forums.unrealengine.com/t/how-can-i-make-pawn-flying-move-in-direction-of-camera-rotation/379810 "2016-12-20T15:44:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_c8600778](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_c8600778](https://forums.unrealengine.com/u/anonymous_user_c8600778)\
**Post date:** [December 20, 2016, 3:44pm UTC](https://forums.unrealengine.com/t/how-can-i-make-pawn-flying-move-in-direction-of-camera-rotation/379810/1 "2016-12-20T15:44:20Z")

</div>

To make pawn move as the direction of camera changes. Forward motion is given.

---

<div class="post-metadata">

**Author:** ![TJ\_V](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/tj_v/32/1008648_2.png) [@TJ\_V](https://forums.unrealengine.com/u/TJ_V)\
**Post date:** [December 22, 2016, 6:35pm UTC](https://forums.unrealengine.com/t/how-can-i-make-pawn-flying-move-in-direction-of-camera-rotation/379810/2 "2016-12-22T18:35:54Z")

</div>

Hi Gourav2411,

It sounds like you have already set up your inputs and all you are missing is to have the Pawn use the controller pitch and yaw.

In the Pawn, select the Pawn itself in the Components tab.

![119610-pawn01.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/0/e/c0ee44fd3122bdf3372b58d4258cad10f76d3e34.png)

Then enable ‘Use Controller Rotation Pitch’ and ‘Use Controller Rotation Yaw’.

![119621-pawn02.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/e/b/cebd44d9709597409ae4e44a39346dfe802cb313.png)

Let me know if this helps you.

Cheers,

TJ

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_c8600778](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_c8600778](https://forums.unrealengine.com/u/anonymous_user_c8600778)\
**Post date:** [December 23, 2016, 8:37am UTC](https://forums.unrealengine.com/t/how-can-i-make-pawn-flying-move-in-direction-of-camera-rotation/379810/3 "2016-12-23T08:37:57Z")

</div>

Hi TJ,  
It worked.  
Thank you
