# Disable VR Rotation

**URL:** <https://forums.unrealengine.com/t/disable-vr-rotation/408327>\
**Category:** Rendering\
**Tags:** rotation, locomotion, unreal-engine, hmd, question\
**Created:** [October 30, 2017, 4:08pm UTC](https://forums.unrealengine.com/t/disable-vr-rotation/408327 "2017-10-30T16:08:18Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ravy](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ravy/32/905240_2.png) [@Ravy](https://forums.unrealengine.com/u/Ravy)\
**Post date:** [October 30, 2017, 4:08pm UTC](https://forums.unrealengine.com/t/disable-vr-rotation/408327/1 "2017-10-30T16:08:18Z")

</div>

I m working on a VR experience where the player can look around in a creepy room and get his head chopped off at this point i want to disable the rotation to make it a better experience because dead people cant look around. i m working most with matinees, cameras and BPs. Is there a way to toggle that? Like in roborecall

---

<div class="post-metadata">

**Author:** ![GRADgr](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@GRADgr](https://forums.unrealengine.com/u/GRADgr)\
**Post date:** [November 28, 2017, 10:51pm UTC](https://forums.unrealengine.com/t/disable-vr-rotation/408327/2 "2017-11-28T22:51:06Z")

</div>

if i were you, i would try to think what bothers me to come to my solution… if its your camera you could DISABLE LOCK TO HMD, if you run your camera rotation through other calcs, make A BOOL SWITCH 🙂

---

<div class="post-metadata">

**Author:** ![GRADgr](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@GRADgr](https://forums.unrealengine.com/u/GRADgr)\
**Post date:** [November 29, 2017, 11:13am UTC](https://forums.unrealengine.com/t/disable-vr-rotation/408327/3 "2017-11-29T11:13:29Z")

</div>

just to add, IF your character is about to get up(not in this decapicitated situtation though :-p , etc. if he gets a knock hit and you want to play fall animation) because am also doing it this way, try to get your final rotation from the anim, and the moment your character gets up and should enable HMD controls, reset YAW orienation with the give YAW from last animation. 🙂

---

<div class="post-metadata">

**Author:** ![fengkan](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@fengkan](https://forums.unrealengine.com/u/fengkan)\
**Post date:** [November 30, 2017, 10:08am UTC](https://forums.unrealengine.com/t/disable-vr-rotation/408327/4 "2017-11-30T10:08:54Z")

</div>

I think you can also set the position in the tick without setting the rotation, this will overwrite the default camera behavior.

---

<div class="post-metadata">

**Author:** ![c0ntrarian](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@c0ntrarian](https://forums.unrealengine.com/u/c0ntrarian)\
**Post date:** [December 5, 2023, 2:30pm UTC](https://forums.unrealengine.com/t/disable-vr-rotation/408327/5 "2023-12-05T14:30:58Z")

</div>

Figured out how to do this:

Uncheck Context Sensitive, search for a new node “Set Lock to HMD” under Camera Components. You can disable the actual HMD rotation data to force a view at a certain object or thing.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/7/7/77716a7aa6fc2233a44784759dafe48098914988.png)
