diff --git a/Source/RWTHVRToolkit/Private/Interaction/Interactables/InteractableComponent.cpp b/Source/RWTHVRToolkit/Private/Interaction/Interactables/InteractableComponent.cpp index 1e954ee1cef0511a89a3dd6d4f846a0a176ee767..0a0df846378be8f16af065b039f0f839a6950f62 100644 --- a/Source/RWTHVRToolkit/Private/Interaction/Interactables/InteractableComponent.cpp +++ b/Source/RWTHVRToolkit/Private/Interaction/Interactables/InteractableComponent.cpp @@ -8,8 +8,6 @@ #include "Logging/StructuredLog.h" #include "Utility/RWTHVRUtilities.h" -bool UInteractableComponent::HasInteractionTypeFlag(EInteractorType type) { return type & InteractorFilter; } - void UInteractableComponent::RestrictInteractionToComponents(const TArray<USceneComponent*>& Components) { if (Components.IsEmpty()) diff --git a/Source/RWTHVRToolkit/Public/Interaction/Interactables/InteractableComponent.h b/Source/RWTHVRToolkit/Public/Interaction/Interactables/InteractableComponent.h index ee5c925abf5db5f6046f1740274aac26cd9daf84..7ef7078b931eebdc43d94932ebe6d615a8a7a442 100644 --- a/Source/RWTHVRToolkit/Public/Interaction/Interactables/InteractableComponent.h +++ b/Source/RWTHVRToolkit/Public/Interaction/Interactables/InteractableComponent.h @@ -55,7 +55,7 @@ public: bool bAllowInteractionFromChildGeometry = true; UFUNCTION(BlueprintCallable) - FORCEINLINE bool HasInteractionTypeFlag(EInteractorType type); + FORCEINLINE bool HasInteractionTypeFlag(EInteractorType Type) { return Type & InteractorFilter; } /** * @brief Restrict interactability to given components (e.g. if an object is grabbed, block interactions from other