Hi community,
I’ve been trying to implement GameplayTags into my project but am having some troubles working with it in C++.
I am casting a LineTrace from my player into the world and am currently simply checking if the hit Actor (Hitobject) has a specific Actor tag with:
if(HitObject->ActorHasTag("PickUp")
// Do something
How can I build around the same logic using GameplayTags?
I can’t call “HasMatchingGameplayTag” on the Actor and I am also finding no other way to get the GameplayTagContainer that is on the HitObject.
Any help is much appreciated. Thanks in advance!