You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
This introduced some follow-on issues in places where the grip and aim poses were previously conflated. To address those: - The Oculus controller mesh (SM_Controller_RiftS) has had a socket named "OpenXrGrip" added to it, calibrated to coincide roughly with the XR Touch v3 model origin. Under OpenXR, if this socket is present, the controller mesh has its relative transform overridden to treat this socket as the origin. While this significantly improves the usability of this legacy mesh, this is not a long-term solution. - The aforementioned grip socket transform logic occurs in UVREditorInteractor::SetHandMeshComponentProperties, and so in order to enforce it correctly, the VirtualScoutingInteractor blueprint now correctly calls UVREditorInteractor::ReplaceHandMeshComponent, instead of setting the mesh asset directly. - UVREditorInteractor::ReplaceHandMeshComponent now additionally takes the controller mesh scale as a parameter, in order to correctly account for the Oculus right-hand mirroring (Y scale of -1.0). - The VRTool_BP blueprint's "Update Transform" method now uses the parent interactor HandMeshComponent transform, rather than UViewportInteractor::GetTransform, in order to keep all the hardcoded offsets correctly pointing to their respective portions of the controller mesh. The "Helper Pivot Rift" scene component is now attached to the parent interactor's HandMeshComponent for the same reason. ----- This changelist also includes a couple of unrelated small fixes: - Removes unnecessary ensures from FVirtualScoutingOpenXRExtension::TryGetHmdDeviceType, which could trigger if VR preview was used while the Virtual Scouting plugin is active. - Changes VRActionTypes::Touch back to a key binding rather than an axis (per the OpenXR spec v1.0.24 §6.3.2, "'touch' components are always boolean"), and instead modifies the MarkerTool blueprint to handle it as a key instead of an axis. #jira UE-157369 #rb Lauren.Barnes, richard.graham #preflight 62bf2ee8c94105372899cc0a [CL 20917181 by zach brockway in ue5-main branch]