Vive Touchpad Movement with controller forward vector?

Espii
Mon, 26 Sep 2016 17:21:35 +0000
XR Development

Hello,

I’m trying to set up a movement system where the character is moved based on the input from the Vive motion-controller touch-pad, except the character then moves based on the forward vector of the controller, rather than in the world.

If I just make a vector from the thumb-stick values it moves relative to the world X & Y, I just can’t seem to get it to work with the forward vector replacing the world’s ‘forward vector’. I know I need to either rotate it around something, or add the right values together but I can’t work it out. Any Ideas?

7 posts - 4 participants