# vr 3rd person camera

**URL:** <https://forums.unrealengine.com/t/vr-3rd-person-camera/89352>\
**Category:** XR Development\
**Tags:** unreal-engine\
**Created:** [April 6, 2017, 12:53am UTC](https://forums.unrealengine.com/t/vr-3rd-person-camera/89352 "2017-04-06T00:53:36Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![DragonDaBeast](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DragonDaBeast](https://forums.unrealengine.com/u/DragonDaBeast)\
**Post date:** [April 6, 2017, 12:53am UTC](https://forums.unrealengine.com/t/vr-3rd-person-camera/89352/1 "2017-04-06T00:53:36Z")

</div>

Hi im building a matinee movie 5 mins long and i have a vr camera set up with a rotating component to rotate the camera around my moving object. what I’m trying to do is change the default value for y through player joystick. basically allowing player to control rotation speed instead of forcing them to spin around at a locked speed.

> **[A new, community-hosted Unreal Engine Wiki](https://forums.unrealengine.com/t/a-new-community-hosted-unreal-engine-wiki/141494)**
>
> After over a year in maintenance mode, the official Unreal Engine Wiki is now permanently offline. These resources now live on a new community-run Unreal Engine Community Wiki — ue4community.wiki! You will be able to find content from the official...

this is how I set it up works just fine adept I can’t figure out how allow player to change values.

new to unreal thanks for the help.

---

<div class="post-metadata">

**Author:** ![vr\_marco](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/vr_marco/32/1194556_2.png) [@vr\_marco](https://forums.unrealengine.com/u/vr_marco)\
**Post date:** [April 7, 2017, 9:28pm UTC](https://forums.unrealengine.com/t/vr-3rd-person-camera/89352/2 "2017-04-07T21:28:26Z")

</div>

Hi!

You can set the Rotation Rate in the component in a way that is proportional to the joystick (thumbstick) input. The input from the thumbstick maps to -1.0 → 1.0, so if you want your rotation rate to be faster then 1 degree per second, you have to multiply it by another float \> 1.0 first. By using the resulting value to set the Rotation Rate of the Rotating Component you can adjust the rotation speed proportionally to the thumbstick input. To do that, you can add to the Event Graph of your VR Pawn (the camera) a similar code to the one the documentation shows for the Construction Script. If it is still unclear I can post an example for you.

This said, be advised that many people cannot stand camera rotation movements in VR unless they are very very slow.

Cheers,  
Marco.

---

<div class="post-metadata">

**Author:** ![DragonDaBeast](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DragonDaBeast](https://forums.unrealengine.com/u/DragonDaBeast)\
**Post date:** [April 9, 2017, 2:39pm UTC](https://forums.unrealengine.com/t/vr-3rd-person-camera/89352/3 "2017-04-09T14:39:27Z")

</div>

Thanks for the reply I’m not to sure how to set that all that up it be great to see an example. Thanks

---

<div class="post-metadata">

**Author:** ![DragonDaBeast](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DragonDaBeast](https://forums.unrealengine.com/u/DragonDaBeast)\
**Post date:** [April 10, 2017, 3:53pm UTC](https://forums.unrealengine.com/t/vr-3rd-person-camera/89352/4 "2017-04-10T15:53:11Z")

</div>

![VrCharacter.JPG](https://d3kjluh73b9h9o.cloudfront.net/original/3X/0/2/02bc9ee2d2e50ffc8aad03ab2527fbf87f39374f.jpeg)  
This is how the vr character/camera is set up  
 ![RotatingComponent.JPG](https://d3kjluh73b9h9o.cloudfront.net/original/3X/5/2/5248c1093e906587bf523bdccce7ef42957ee9a0.jpeg)  
this is the rotating movement from earlier  
 ![How to change this value in blueprint edited.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/3X/0/d/0de3e9c392fb048f1578be20a2a6b0448b2ae660.jpeg)

how can I change this value in blueprint

---

<div class="post-metadata">

**Author:** ![vr\_marco](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/vr_marco/32/1194556_2.png) [@vr\_marco](https://forums.unrealengine.com/u/vr_marco)\
**Post date:** [April 10, 2017, 9:18pm UTC](https://forums.unrealengine.com/t/vr-3rd-person-camera/89352/5 "2017-04-10T21:18:15Z")

</div>

Pretty straightforward. Drag out to the Event Graph a reference to the Rotation Movement component and use Set Rotation Rate to set the new rotation rate. Here is an example based on a simple mesh cube with a Rotation Movement component attached to it. As you press the V key, 5 extra degrees of yaw rotation are applied to it.  
Hope this helps,  
Marco.

 ![Capture.PNG](https://d3kjluh73b9h9o.cloudfront.net/original/3X/d/6/d68f20df8d289e30efdbdb9e610b8f45d7a24c20.png)

---

<div class="post-metadata">

**Author:** ![DragonDaBeast](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DragonDaBeast](https://forums.unrealengine.com/u/DragonDaBeast)\
**Post date:** [April 11, 2017, 4:06pm UTC](https://forums.unrealengine.com/t/vr-3rd-person-camera/89352/6 "2017-04-11T16:06:43Z")

</div>

This is what I was able to make so far. I cant get a target on my rotating movement maby because my mesh is a skeletal mesh actor?  
 ![62798177d7ca6478fe8492c1a9a5cd42864aa4ed.jpeg](https://d1ap1mz92jnks1.cloudfront.net/images/transparent.png)

---

<div class="post-metadata">

**Author:** ![vr\_marco](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/vr_marco/32/1194556_2.png) [@vr\_marco](https://forums.unrealengine.com/u/vr_marco)\
**Post date:** [April 11, 2017, 4:49pm UTC](https://forums.unrealengine.com/t/vr-3rd-person-camera/89352/7 "2017-04-11T16:49:36Z")

</div>

Ok. What does your overall setup look like? Is the camera that you are trying to rotate part of your skeletal mesh actor? Maybe connected to it with a Spring Arm? Does the actor have an own Movement Component? If so, where did you place the Rotation Movement component? Maybe it would be easier if you share your project (or the relevant portion of it) so we can take a look here.

Cheers,  
Marco.
