Skip to content
Snippets Groups Projects

add an interaction ray and make VRInteractionComponent derive from WidgetInteractionComponent so it can also handle UMG widgets

Merged Jan Delember requested to merge feature/pointing-ray into develop
1 file
+ 0
1
Compare changes
  • Side-by-side
  • Inline
@@ -144,7 +144,6 @@ void UBasicVRInteractionComponent::TickComponent(float DeltaTime, ELevelTick Tic
@@ -144,7 +144,6 @@ void UBasicVRInteractionComponent::TickComponent(float DeltaTime, ELevelTick Tic
{
{
InteractionRay->SetVisibility(false);
InteractionRay->SetVisibility(false);
}
}
return;
// Execute leave event on the actor that lost the focus if there was one
// Execute leave event on the actor that lost the focus if there was one
if (LastActorHit && LastActorHit->Implements<UTargetable>())
if (LastActorHit && LastActorHit->Implements<UTargetable>())
Loading