Back to search
Node refGold tierUtility

DeprojectScreenPositionToWorld — convert 2D screen coords to 3D world ray

Updated 3mo ago
UE 5.0UE 5.1UE 5.2UE 5.3UE 5.4UE 5.5UE 5.6UE 5.7#deproject#screen#world#mouse#ray

Reference

APlayerController method. WorldDirection is the ray direction for line traces.

Pins

Inputs

  • self:object
  • ScreenX:float
  • ScreenY:float

Outputs

  • WorldLocation:vector
  • WorldDirection:vector
  • ReturnValue:bool

Function target: DeprojectScreenPositionToWorld · Node name: Deproject Screen Position To World