force stop all haptics when handedness changes

This commit is contained in:
Mamadou Babaei
2026-02-24 13:01:33 +01:00
parent 0f677b9c20
commit ef5253377b
@@ -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())