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

I just can’t figure it out.

2 Likes

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

2 Likes