- Home /
Player rotation based on SpineBase Direction
Hello!
I'm working on a VR game with Oculus Rift DK2 and Kinect V2. Until now what I did is giving to my player the direction of the oculus' left eye anchor (like this: lEa.transform.forward) and that was the direction of my player. Now I need to change the direction of the player, only if the body is actually rotating (So if I just move my head but keep walking it won't change the direction), and I would like to use the normal to the SpineBase JointOrientation but I don't know how to interpreter the Windows.Kinect.Vector4 data and use it to give a Direction to my player.
Do you have a solution for this?
Thanks
Your answer
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
Distribute terrain in zones 3 Answers
Making a bubble level (not a game but work tool) 1 Answer
Character's direction taken from JointOrientation 0 Answers
How can I define a joint for my ragdoll? 0 Answers