question

Kyle R2 avatar image
0 Likes"
Kyle R2 asked Jeanette F commented

Teleport in Z Direction using VR Mode

Hi,

I'm currently using an Oculus Quest 2 headset to view models in VR mode. I was wondering if there are any existing controls for 'teleporting in the z-direction'? i.e. move up and down in VR to view different levels of a facility that we have in our model.

I've not yet been able to do it without changing the view perspective manually in the tree and then re-entering VR mode.

Thanks,

FlexSim 20.0.10
flexsim 20.0.10vr mode
· 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.

Jeanette F avatar image Jeanette F ♦♦ commented ·

Hi @Kyle R2, was Phil BoBo's answer helpful? If so, please click the red "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always unaccept and comment back to reopen your question.

0 Likes 0 ·

1 Answer

·
Phil BoBo avatar image
0 Likes"
Phil BoBo answered

The default teleporting functionality is defined in the Perspective view code. See

VIEW:/standardviews/documentwindows/Perspective>eventfunctions/OnDraw

VIEW:/standardviews/documentwindows/Perspective>eventfunctions/TouchInput

If you want to change how it works, add a custom object to your model with its own OnPreDraw and OnDraw triggers for handling teleportation and set the view's enableVRTeleport variable to 0 in your code to disable the code defined on the view.

5 |100000

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

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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