# HTC Vive movement input: character walks in the wrong direction

**URL:** <https://forums.unrealengine.com/t/htc-vive-movement-input-character-walks-in-the-wrong-direction/392572>\
**Category:** XR Development\
**Tags:** direction, Vive, turn, unreal-engine, question\
**Created:** [May 3, 2017, 12:12pm UTC](https://forums.unrealengine.com/t/htc-vive-movement-input-character-walks-in-the-wrong-direction/392572 "2017-05-03T12:12:08Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_8842144f](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_8842144f](https://forums.unrealengine.com/u/anonymous_user_8842144f)\
**Post date:** [May 3, 2017, 12:12pm UTC](https://forums.unrealengine.com/t/htc-vive-movement-input-character-walks-in-the-wrong-direction/392572/1 "2017-05-03T12:12:08Z")

</div>

Hi all,

At the moment I’m trying to setup character movement in VR. The boundaries of the VR Chaperone are not enough so I need a way to make the player walk by using the motion controllers (HTC Vive).  
I was thinking about using the Facebuttons (trackpad) for walking directions, similar to WASD.

 ![136629-charactermovement.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/1/7116c3b628694a522747ca9e16942fe832a7277d.png)

So far the setup is similar to 1st person. The walking itself is happening just fine in VR with the Facebuttons for bindings.  
However, I don’t know what to do with the turning… because on a keyboard you would use WASD for walking and Mouse X and Mouse Y for Turn/Lookup. But how do I implement this for VR? What should I use as a binding for turning?  
I want the character to walk in the direction he is facing, similar to 1st person.

Thanks in advance for helping me out!

---

<div class="post-metadata">

**Author:** ![TagoWill](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TagoWill](https://forums.unrealengine.com/u/TagoWill)\
**Post date:** [May 16, 2017, 2:40pm UTC](https://forums.unrealengine.com/t/htc-vive-movement-input-character-walks-in-the-wrong-direction/392572/2 "2017-05-16T14:40:32Z")

</div>

Hi Stradis

If I’m understanding correctly, you can use the node MotionController (R/L) FaceButton 1/3 to do the binding for the character to walking in the direction he is facing and the MotionController (R/L) FaceButton 4/2 to do the binding of the rotation.

EDIT:  
If you are using the Chaperone system, why don’t simply do a physical turn to turn your character in the virtual world?

Hope it helps.

Note: I leave here the “bindings cheat sheet” of the motion controller of the Vive.

 ![ViveMapping.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/1/6/e16d6cd8284b7522998b37419e32b4fb5e83379c.jpeg)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_8842144f](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_8842144f](https://forums.unrealengine.com/u/anonymous_user_8842144f)\
**Post date:** [May 16, 2017, 2:47pm UTC](https://forums.unrealengine.com/t/htc-vive-movement-input-character-walks-in-the-wrong-direction/392572/3 "2017-05-16T14:47:00Z")

</div>

I will give this a try, thanks a lot!  
For now I had actually figured out another method (a bit makeshift though), so the walking part has been put on low priority. But it’s nice to have a potential solution in the bank 🙂

---

<div class="post-metadata">

**Author:** ![TagoWill](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TagoWill](https://forums.unrealengine.com/u/TagoWill)\
**Post date:** [May 16, 2017, 3:07pm UTC](https://forums.unrealengine.com/t/htc-vive-movement-input-character-walks-in-the-wrong-direction/392572/4 "2017-05-16T15:07:43Z")

</div>

No problem 🙂

---

<div class="post-metadata">

**Author:** ![Vjp](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Vjp](https://forums.unrealengine.com/u/Vjp)\
**Post date:** [June 21, 2017, 2:12pm UTC](https://forums.unrealengine.com/t/htc-vive-movement-input-character-walks-in-the-wrong-direction/392572/5 "2017-06-21T14:12:30Z")

</div>

Hi am also shipping in the same boat, kindly send me the BP Setting if possible so that i can also give a try. Hope you won’t be having any issue and mail it [vjprakash25@gmail.com](mailto:vjprakash25@gmail.com)
