Module |
|
Header |
/Engine/Source/Runtime/HeadMountedDisplay/Public/HeadMountedDisplayFunctionLibrary.h |
Include |
#include "HeadMountedDisplayFunctionLibrary.h" |
Source |
/Engine/Source/Runtime/HeadMountedDisplay/Private/HeadMountedDisplayFunctionLibrary.cpp |
static void UpdateExternalTrackingHMDPosition
(
const FTransform & ExternalTrackingTransform
)
Called after calibration to attempt to pull the internal tracker (e.g. HMD tracking) in line with the external tracker (e.g. mocap tracker). This will set the internal tracker's base offset and rotation to match and realign the two systems. This can be called every tick, or whenever realignment is desired.
that this may cause choppy movement if the two systems diverge relative to each other, or a big jump if called infrequently when there has been significant drift
Parameter |
Description |
---|---|
ExternalTrackingTransform |
The transform in world-coordinates, of the reference marker of the external tracking system |