Skip to content
Snippets Groups Projects
Commit ece17cc0 authored by Jonathan Wendt's avatar Jonathan Wendt
Browse files

use new naming of controllers from 4.22

parent 2ffc739d
No related branches found
No related tags found
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