C++ equivalent of "Convert Mouse Location To World Space"

Just use the following function of the PlayerController:

void DeprojectMousePositionToWorld(FVector & WorldLocation, FVector & WorldDirection) const;

:smiley:

Cheers,
Moss

2 Likes