0 votes
asked by (18 points)

I am working on a virtual pre-flight inspection walk-around for a new model, and I discovered that the normally read-write datarefs for "pilots_head_*" are NOT write-able with VR enabled. So, I would like to be able place the pilot directly into a VR hotspot (defined in the vrconfig.txt file) based on my plugin logic when "sim/graphics/VR/enabled" == 1.

Or is there another method for putting the pilot into a different location when VR is enabled? Maybe a method that would work for both cases (VR off and on)?

Thanks!

1 Answer

0 votes
answered by (361 points)
selected by
 
Best answer

Unfortunately, at this point, there's no support for moving the user programmatically in VR. (This is one more limitation of the present API which might be improved in the futureā€”I'd suggest following the developer's blog to keep up on any future API improvements.)

commented by (18 points)
Thanks, Tyler! I suspected as much. I follow the dev blog every day, so I'll stay tuned to see if something is added at a later date. Just a suggestion; it might be relatively easy to devise a command that can teleport the pilot to any pre-defined hotspot assuming that the hotspot designator is meaningful to the code logic.

Welcome to X-Plane Q&A, where you can ask support questions and get answers from members of the community.

This site is for X-Plane support questions only. Please search for existing answers before posting your question. Off-topic questions will be locked.

If you’re new, you’ll need to register before asking your first question.

If your question is answered, click on the check mark to select the best response.

Categories

...