Navigation Raycast

Navigation Raycast

Windows
MacOS
Linux

Performs navigation raycast on NavigationData appropriate for given Querier.

Target is Navigation System V1

Navigation Raycast
Ray Start
X0
Y 0
Z 0
Ray End
X0
Y 0
Z 0
Filter Class
Select Class
Querier
Hit Location
X0
Y 0
Z 0
Return Value

Inputs

In
Exec
Ray Start
Vector (by ref)
Ray End
Vector (by ref)
Filter Class
Navigation Query Filter Class Reference
Querier
Controller Object Reference

if not passed default navigation data will be used

Outputs

Out
Exec
Hit Location
Vector

if line was obstructed this will be set to hit location. Otherwise it contains SegmentEnd

Return Value
Boolean

true if line from RayStart to RayEnd was obstructed. Also, true when no navigation data present

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback