Skip to content

Instantly share code, notes, and snippets.

@sephirot47
Created June 18, 2015 15:32
Show Gist options
  • Save sephirot47/645682a0198fb64bacb9 to your computer and use it in GitHub Desktop.
Save sephirot47/645682a0198fb64bacb9 to your computer and use it in GitHub Desktop.
UE4 World to screen point
//From the actor's viewport (camera)
FVector2D result;
UGameplayStatics::GetPlayerController(actor, 0)->ProjectWorldLocationToScreen(pointInWorld, result);
//result now has the screen point(x,y)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment