From f8a6500ca75481c496e1084fc838dedb199f1f94 Mon Sep 17 00:00:00 2001 From: Mamadou Babaei Date: Mon, 9 Feb 2026 15:03:19 +0100 Subject: [PATCH] force stop all haptics when handedness changes --- .../SenseGlove/Components/SGVirtualHandComponent.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Source/SenseGlove/Private/SenseGlove/Components/SGVirtualHandComponent.cpp b/Source/SenseGlove/Private/SenseGlove/Components/SGVirtualHandComponent.cpp index b54a1f8c..9e8405fc 100644 --- a/Source/SenseGlove/Private/SenseGlove/Components/SGVirtualHandComponent.cpp +++ b/Source/SenseGlove/Private/SenseGlove/Components/SGVirtualHandComponent.cpp @@ -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())