Skip to content

Fix grounded movement with OpenXR

Thomas Galland requested to merge thomas.galland/vtk:groundedMovementFix into master

Fix the "Grounded" movement bug, that was not working with OpenXR selected as backend.
The reason was the HeadSetDir variable, that is needed for movement computations, was never set in the vtkVRInteractorStyle with OpenXR.

This simply get the HMD pose (for now left eye) from the runtime and emits a new event in vtkOpenXRRenderWindowInteractor::PollXrActions.

Merge request reports