I want to generate events OnBeginHit & OnEndHit on when raycasting a particular actor. Is there a built-in way to do so? If not, I could always check if the current hit result is equivalent to the previous one (or more) on tick.
Something like this works, though a bit convoluted IMO…