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

use UDisplayClusterSceneComponent for flystick

parent 0dbd80d9
No related branches found
No related tags found
No related merge requests found
...@@ -71,7 +71,7 @@ void FWidgetInteractionModule::OnWorldTickStart(ELevelTick level_tick, float val ...@@ -71,7 +71,7 @@ void FWidgetInteractionModule::OnWorldTickStart(ELevelTick level_tick, float val
else { else {
//if this is a cluster setup we attach it to the flystick //if this is a cluster setup we attach it to the flystick
name = TEXT("flystick"); name = TEXT("flystick");
component_class = UMotionControllerComponent::StaticClass(); component_class = UDisplayClusterSceneComponent::StaticClass();
} }
auto parent_vec = vr_pawn->GetComponentsByClass(component_class); auto parent_vec = vr_pawn->GetComponentsByClass(component_class);
...@@ -85,7 +85,7 @@ void FWidgetInteractionModule::OnWorldTickStart(ELevelTick level_tick, float val ...@@ -85,7 +85,7 @@ void FWidgetInteractionModule::OnWorldTickStart(ELevelTick level_tick, float val
} }
if (!success) if (!success)
UE_LOG(LogTemp, Error, TEXT("Failed to load widget asset \"%s"), *name); UE_LOG(LogTemp, Error, TEXT("Failed to load widget asset \"%s\", cannot attach widget interaction component"), *name);
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment