Skip to content
Snippets Groups Projects

use new naming of controllers from 4.22

Merged Jan Delember requested to merge feature/enable_WidgetInteraction_onDesktop_again into develop
1 file
+ 2
2
Compare changes
  • Side-by-side
  • Inline
@@ -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();
}
}
Loading