force stop all haptics when handedness changes
This commit is contained in:
@@ -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())
|
||||||
|
|||||||
Reference in New Issue
Block a user