question

Steven Chen avatar image
0 Likes"
Steven Chen asked Phil BoBo edited

View height of headset in VR mode

Hello,

Sometimes view height in VR mode is too high to reach control panel in example model "ZombieAttack". Is there a way to adjust the view height?

We use HTC Vive. Re-config room setup and use lower height value from SteamVR didn't work. Reboot PC didn't work.

FlexSim 19.1.1
vr
· 1
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Steven Chen avatar image Steven Chen commented ·

Oh I find code in ModelOnPreDraw that lock view point, so I only need to adjust code here for properly view point. Still don't know why sometimes the view point is fine but sometimes not.

0 Likes 0 ·

1 Answer

Phil BoBo avatar image
0 Likes"
Phil BoBo answered Phil BoBo edited

"For optimal tracking, after you press the VR Mode button in FlexSim and put on the headset, make sure you recenter the headset in the VR settings while standing or sitting in the middle of your play area and looking straight forward. On the Vive, push the system button to open the Steam VR overlay, then press the Settings button near the bottom-right corner, then look straight forward and press the Reset Seated Position button. On the Oculus, press the Oculus home button and then press the Reset View in App button in the upper-right corner."

(from VR Demo Models)

Alternatively, you can use applicationcommand("recenteroculusrift"); to do the same thing from FlexScript. (That application command works with both Oculus and Vive despite its name.)

The value set by ModelOnPreDraw is the "centered" position. Where that position is in your real space is determined by the position of the headset when you follow the steps above.

5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.