From ece17cc0185ce4330643ed7fbfd80ac55b594cbb Mon Sep 17 00:00:00 2001 From: Jonathan Wendt <wendt@vr.rwth-aachen.de> Date: Wed, 23 Oct 2019 13:30:47 +0200 Subject: [PATCH] use new naming of controllers from 4.22 --- Source/WidgetInteraction/Private/WidgetInteraction.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/WidgetInteraction/Private/WidgetInteraction.cpp b/Source/WidgetInteraction/Private/WidgetInteraction.cpp index f414d1d..9ab7b4c 100644 --- a/Source/WidgetInteraction/Private/WidgetInteraction.cpp +++ b/Source/WidgetInteraction/Private/WidgetInteraction.cpp @@ -59,12 +59,12 @@ void FWidgetInteractionModule::OnWorldTickStart(ELevelTick level_tick, float val //if this is a standalone setup ... if (UHeadMountedDisplayFunctionLibrary::IsHeadMountedDisplayEnabled()) { //.. with an HMD, we attach the intercation component to the right hand - name = FString("RightMotionController"); + name = FString("HMDRightMotionController"); component_class = UMotionControllerComponent::StaticClass(); } else { //... without an HMD, we also attach it to the virtual right hand, since it exists in this case - name = TEXT("RightMotionController"); + name = TEXT("HMDRightMotionController"); component_class = UMotionControllerComponent::StaticClass(); } } -- GitLab