Download

What's the C++ equivalent to the get hit result under cursor by channel node?

I just can’t figure it out.

It’s part of player controller: APlayerController::GetHitResultUnderCursor
https://docs.unrealengine.com/en-US/API/Runtime/Engine/GameFramework/APlayerController/GetHitResultUnderCursor/index.html