Why my camera rotation is reset to FQuat::Identity when VR HMD lost tracking?

So I am having issue because I can’t set Character rotation to last known rotation of VR HMD because it’s being reset to FQuat::Identity.

Is there a way to overwrite it. So when lost tracking of HMD it wont always set to to FQuat::Identity but actually to last known rotation.

I did manage to do it with XRTracking->ResetOrientation(LastKnownXRCameraRotator.Yaw);

However I wonder if there is better way of doing it?

1 Like