Track head movement

1128
Explorer

Track head movement

unity - how to move object based on head movement

Vive Staff

Re: Track head movement

@1128 - Can you please provide some additional context as to what effect you're trying to achieve with your mechanic? It sounds like you're trying to move an object in your level - can you please provide additional information about what exactly you're trying to achieve? Are you moving the object to keep it in the center of the player's FOV or are you actually trying to navigate the object in all 3 axis across your level? 

 

At a super high level, you can assign the object as a child of the camera which should keep the object in the center of the FOV as you move your head around. You can do this at runtime. More complex interactions require more complex scripts - if you provide us with additional context about your desired mechanic we may be able to provide guidance on how to best implement it. 

 

Cheers, 

To reach Viveport's customer service team, email customerservice@viveport.com

To connect with a live support agent for hardware support, go to www.vive.com/support, click on "contact us" in the top righthand corner, and then opt to speak with a Live Chat agent

David R

Technical Specialist - San Francisco, CA; Monday-Friday

Click here to send me a PM