Jump to content

vr device's pos,rot reset


photo

Recommended Posts

Depending on how the vr headset was placed before the program was executed, the initial position and orientation of the camera by the headset after loading is different.

 

After loading done and wear a vr headset,
how do I reset Initial direction of headset device to direction I am currently seeing?

 

 

Edited by dongju.jeong
Link to comment

Hello Dongju,

I assume you're working with VR template. You can use methods "landPlayerTo(position, direction)" and "landPlayerTo(transform)". Please check <VR_template_project>\source\Framework\Components\Players\VRPlayer.cpp.

If you encounter some issues with this - please send us a code sample.

Thanks.

  • Like 1

How to submit a good bug report
---
FTP server for test scenes and user uploads:

Link to comment
×
×
  • Create New...