View height of headset in VR mode

View height of headset in VR mode

steven_chen1
Not applicable
23 Views
2 Replies
Message 1 of 3

View height of headset in VR mode

steven_chen1
Not applicable

[ FlexSim 19.1.1 ]

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.

0 Likes
Accepted solutions (1)
24 Views
2 Replies
Replies (2)
Message 2 of 3

steven_chen1
Not applicable

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
Message 3 of 3

philboboADSK
Autodesk
Autodesk
Accepted solution

"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.



Phil BoBo
Sr. Manager, Software Development
0 Likes