Unreal engine simple collision detection C++

Please mark the correct implementation as a solution so that it’s seen in the forum as resolved :).