Ello, I keep getting an error that I can’t get rid of until I comment out the code under “/// See what we hit”, which starts at line 77 of Grabber.cpp for me.
expression preceding parentheses of apparent call must have (pointer-to-) function type
I’m guessing this is one of those tricky things about macros Ben was talking about, because I have no other idea at the moment.
/// See what we hit
AActor* ActorHit = Hit.GetActor();
if (ActorHit)
{
UE_LOG(LogTemp, Warning, TEXT("Line trace hit: %s"), *(ActorHit()->GetName()))
}