force stop all haptics when handedness changes

This commit is contained in:
Mamadou Babaei
2026-02-24 10:42:41 +01:00
parent 65198dbf19
commit f8a6500ca7
@@ -268,6 +268,12 @@ void USGVirtualHandComponent::SetRight(const bool bInRight)
{ {
bRight = bInRight; bRight = bInRight;
const bool bAutoStopHaptics = GetVirtualHandSettings().HapticsSettings.bAutoStopAllHapticsOnEndPlay;
if (bAutoStopHaptics)
{
Pimpl->AutoStopAllHaptics();
}
Pimpl->UpdateXRData(); Pimpl->UpdateXRData();
if (!Pimpl->IsUsingUserMesh()) if (!Pimpl->IsUsingUserMesh())