While doing the challenge, I came across “Actor” on the FHitResult documentation page.
I quote the docs:
“Actor hit by the trace.”
While, eventually I ended up using GetActor (which is also the solution used in the video).
Quote the docs:
“Utility to return the Actor that owns the Component that was hit.”
So what does Actor do as opposed to GetActor (which is what we did want in the challenge)? They just sound confusingly similar and hoping someone can clear it up for me.
Thanks!