Black Ops III

CheckNavMeshDirection

Run a trace on NavMesh to get the furthest position a character can move in that direction

Example:

pos = CheckNavMeshDirection( (10,20,30), ( 1, 1, 0 ), 25 )

Parameters

ParameterSummary
*startstart of the trace
*dirdirection to trace
*distdistance to trace
[characterRadius]the radius of the capsule used in trace. default to 0.
[materialFlags]the flags marking whether a face type can be used

* = mandatory