force stop all haptics when handedness changes

This commit is contained in:
Mamadou Babaei
2026-02-09 15:03:39 +01:00
parent 407e4479e7
commit 3894ddd3e1
@@ -268,6 +268,12 @@ void USGVirtualHandComponent::SetRight(const bool bInRight)
{
bRight = bInRight;
const bool bAutoStopHaptics = GetVirtualHandSettings().HapticsSettings.bAutoStopAllHapticsOnEndPlay;
if (bAutoStopHaptics)
{
Pimpl->AutoStopAllHaptics();
}
Pimpl->UpdateXRData();
if (!Pimpl->IsUsingUserMesh())