Skip to content
Snippets Groups Projects
Commit 03405f79 authored by Jonathan Ehret's avatar Jonathan Ehret
Browse files

Merge branch 'feature/enable_WidgetInteraction_onDesktop_again' into 'develop'

use new naming of controllers from 4.22

See merge request VR-Group/unreal-development/widgetinteraction!1
parents 2ffc739d ece17cc0
Branches
Tags
1 merge request!1use new naming of controllers from 4.22
......@@ -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();
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment