# How can I rotate the camera around the player using the right virtual joystick?

**URL:** <https://forums.unrealengine.com/t/how-can-i-rotate-the-camera-around-the-player-using-the-right-virtual-joystick/478334>\
**Category:** Character & Animation\
**Tags:** unreal-engine, joystick, question\
**Created:** [February 6, 2021, 11:42am UTC](https://forums.unrealengine.com/t/how-can-i-rotate-the-camera-around-the-player-using-the-right-virtual-joystick/478334 "2021-02-06T11:42:48Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dipesh1510](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Dipesh1510](https://forums.unrealengine.com/u/Dipesh1510)\
**Post date:** [February 6, 2021, 11:42am UTC](https://forums.unrealengine.com/t/how-can-i-rotate-the-camera-around-the-player-using-the-right-virtual-joystick/478334/1 "2021-02-06T11:42:48Z")

</div>

I want the camera of the ball to rotate around the ball throuht right joystick but that not working can anyone help me out . This is the last thing I want to improve in my game . Any help is appreciated !!

---

<div class="post-metadata">

**Author:** ![Dipesh1510](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Dipesh1510](https://forums.unrealengine.com/u/Dipesh1510)\
**Post date:** [February 7, 2021, 7:18am UTC](https://forums.unrealengine.com/t/how-can-i-rotate-the-camera-around-the-player-using-the-right-virtual-joystick/478334/2 "2021-02-07T07:18:34Z")

</div>

Can anyone help me out !

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [February 8, 2021, 2:04pm UTC](https://forums.unrealengine.com/t/how-can-i-rotate-the-camera-around-the-player-using-the-right-virtual-joystick/478334/3 "2021-02-08T14:04:43Z")

</div>

Can you already do this with the mouse?

---

<div class="post-metadata">

**Author:** ![Dipesh1510](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Dipesh1510](https://forums.unrealengine.com/u/Dipesh1510)\
**Post date:** [February 8, 2021, 3:26pm UTC](https://forums.unrealengine.com/t/how-can-i-rotate-the-camera-around-the-player-using-the-right-virtual-joystick/478334/4 "2021-02-08T15:26:27Z")

</div>

No I’m not be able to rotate the camera with mouse

---

<div class="post-metadata">

**Author:** ![Dipesh1510](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Dipesh1510](https://forums.unrealengine.com/u/Dipesh1510)\
**Post date:** [February 8, 2021, 7:13pm UTC](https://forums.unrealengine.com/t/how-can-i-rotate-the-camera-around-the-player-using-the-right-virtual-joystick/478334/5 "2021-02-08T19:13:03Z")

</div>

Do you have any idea about how to do that ?

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [February 8, 2021, 7:14pm UTC](https://forums.unrealengine.com/t/how-can-i-rotate-the-camera-around-the-player-using-the-right-virtual-joystick/478334/6 "2021-02-08T19:14:59Z")

</div>

Yes, I was looking just now. You basically need to take part of the third person character BP and copy it into the ball BP. Can’t get it working quite yet…

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [February 8, 2021, 7:19pm UTC](https://forums.unrealengine.com/t/how-can-i-rotate-the-camera-around-the-player-using-the-right-virtual-joystick/478334/7 "2021-02-08T19:19:51Z")

</div>

This is the mouse camera control:

![329223-screenshot-1.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/9/8/798d9fcb9c5b3c6a9014ec5b778ae504f59e58d4.jpeg)

Joystick:

 ![329224-screenshot-2.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/d/5/6d595e5ab99003edc6782854317f50055fa1068b.jpeg)

You have to put the events in the project setting ( again, copy from 3rd person proj )

 ![329225-screenshot-3.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/8/2/e82e0f1d9e6002cd52cc483dc4dac10acaac4ac1.jpeg)

But you also have to select the camera boom and set:

 ![329226-screenshot-4.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/9/c/f9cdaabca6689cd1d20038ad598da1ff3bc5df8d.jpeg)

---

<div class="post-metadata">

**Author:** ![Dipesh1510](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Dipesh1510](https://forums.unrealengine.com/u/Dipesh1510)\
**Post date:** [February 11, 2021, 10:46am UTC](https://forums.unrealengine.com/t/how-can-i-rotate-the-camera-around-the-player-using-the-right-virtual-joystick/478334/8 "2021-02-11T10:46:27Z")

</div>

That worked . But now the movement joystick is not working properly if I am turning camera right and pressing the left joystick forward then ball is going in left direction

---

<div class="post-metadata">

**Author:** ![Dipesh1510](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Dipesh1510](https://forums.unrealengine.com/u/Dipesh1510)\
**Post date:** [February 11, 2021, 10:47am UTC](https://forums.unrealengine.com/t/how-can-i-rotate-the-camera-around-the-player-using-the-right-virtual-joystick/478334/9 "2021-02-11T10:47:11Z")

</div>

Means the controls of left joystick is not working as per instruction of right joystick

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [February 11, 2021, 11:03am UTC](https://forums.unrealengine.com/t/how-can-i-rotate-the-camera-around-the-player-using-the-right-virtual-joystick/478334/10 "2021-02-11T11:03:08Z")

</div>

If things are just going the wrong way, change the 1 in the project settings to a -1.

---

<div class="post-metadata">

**Author:** ![Dipesh1510](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Dipesh1510](https://forums.unrealengine.com/u/Dipesh1510)\
**Post date:** [February 11, 2021, 12:04pm UTC](https://forums.unrealengine.com/t/how-can-i-rotate-the-camera-around-the-player-using-the-right-virtual-joystick/478334/11 "2021-02-11T12:04:53Z")

</div>

that’s not working . i am actually telling that the controls of left virtual joystick is working as per the rolling ball template means if i am pressing the right joystick right side and changing my camera direction to right side and then pressing the left joystick forward then it will go in the left direction. means it is not following the rotation of the camera

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [February 11, 2021, 12:09pm UTC](https://forums.unrealengine.com/t/how-can-i-rotate-the-camera-around-the-player-using-the-right-virtual-joystick/478334/12 "2021-02-11T12:09:11Z")

</div>

You mean camera is moving but ball is not following camera?

---

<div class="post-metadata">

**Author:** ![Dipesh1510](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Dipesh1510](https://forums.unrealengine.com/u/Dipesh1510)\
**Post date:** [February 11, 2021, 1:13pm UTC](https://forums.unrealengine.com/t/how-can-i-rotate-the-camera-around-the-player-using-the-right-virtual-joystick/478334/13 "2021-02-11T13:13:33Z")

</div>

Yes. !!!

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [February 11, 2021, 1:30pm UTC](https://forums.unrealengine.com/t/how-can-i-rotate-the-camera-around-the-player-using-the-right-virtual-joystick/478334/14 "2021-02-11T13:30:04Z")

</div>

You also need to update your movement nodes:

 ![329529-screenshot-2.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/7/7/a77cce7a42e99c67ed233f997847478837890f71.jpeg)

so it’s adding torque from the camera direction…

---

<div class="post-metadata">

**Author:** ![Dipesh1510](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Dipesh1510](https://forums.unrealengine.com/u/Dipesh1510)\
**Post date:** [February 11, 2021, 2:48pm UTC](https://forums.unrealengine.com/t/how-can-i-rotate-the-camera-around-the-player-using-the-right-virtual-joystick/478334/15 "2021-02-11T14:48:36Z")

</div>

Everything worked well . Thank you so so much for your help !!
