Types
check-vector-collision-with-nav-spheres-info: structuresource
clip-travel-vector-to-mesh-return-info: structuresource
nav-control: basicsource
Fields
type: type
flags: nav-control-flags
process: basic
shape: collide-shape
mesh: nav-mesh
gap-event: basic
block-event: basic
current-poly: nav-poly
next-poly: nav-poly
target-poly: nav-poly
portal: nav-route-portal
nearest-y-threshold: meters
event-temp: vector
old-travel: vector
blocked-travel: vector
prev-pos: vector
extra-nav-sphere: vector
travel: vector
target-pos: vector
destination-pos: vector
block-time: time-frame
block-count: float
user-poly: nav-poly
nav-cull-radius: float
num-spheres: int16
max-spheres: int16
sphere: sphere
Methods
debug-draw(obj: nav-control) => nonesource
point-in-bounds?(obj: nav-control, arg0: vector) => symbolsource
Is the point in bounds?
nav-control-method-11(obj: nav-control, arg0: vector) => vectorsource
nav-control-method-12(obj: nav-control, arg0: nav-gap-info) => symbolsource
nav-control-method-13(obj: nav-control, arg0: vector, arg1: vector) => vectorsource
set-current-poly!(obj: nav-control, arg0: nav-poly) => nonesource
set-target-pos!(obj: nav-control, arg0: vector) => nonesource
nav-control-method-16(obj: nav-control, arg0: vector) => nav-polysource
project-onto-nav-mesh(obj: nav-control, arg0: vector, arg1: vector) => vectorsource
find-poly(obj: nav-control, arg0: vector) => nav-polysource
nav-control-method-19(obj: nav-control, arg0: vector, arg1: collide-shape-moving, arg2: vector, arg3: float) => nonesource
project-point-into-tri-3d(obj: nav-control, arg0: nav-poly, arg1: vector, arg2: vector) => vectorsource
nav-control-method-21(obj: nav-control, arg0: vector) => nav-polysource
nav-control-method-22(obj: nav-control, arg0: vector, arg1: float) => symbolsource
nav-control-method-23(obj: nav-control, arg0: vector, arg1: check-vector-collision-with-nav-spheres-info) => floatsource
nav-control-method-24(obj: nav-control, arg0: float, arg1: clip-travel-vector-to-mesh-return-info) => nonesource
is-in-mesh?(obj: nav-control, arg0: vector, arg1: float) => symbolsource
nav-control-method-26(obj: nav-control) => nonesource
nav-control-method-27(obj: nav-control) => nonesource
nav-control-method-28(obj: nav-control, arg0: collide-kind) => nonesource
should-display?(obj: nav-control) => symbolsource
nav-control-method-30(obj: nav-control, arg0: vector, arg1: vector, arg2: vector) => spheresource
intersect-ray-line-segment?(obj: nav-control, arg0: vector, arg1: vector, arg2: vector, arg3: vector) => symbolsource
nav-control-method-32(obj: nav-control, arg0: vector, arg1: vector, arg2: vector, arg3: vector, arg4: float) => symbolsource
nav-control-method-33(obj: nav-control, arg0: vector, arg1: vector, arg2: vector, arg3: vector, arg4: float) => symbolsource
nav-control-method-34: unknown
nav-control-method-35(obj: nav-control, arg0: vector, arg1: vector, arg2: vector, arg3: vector, arg4: float) => nonesource
nav-lookup-elem: structuresource
nav-mesh: basicsource
Fields
type: type
user-list: engine
poly-lookup-history: uint8
debug-time: uint8
static-sphere-count: uint8
static-sphere: inline-array
bounds: sphere
origin: vector
cache: nav-lookup-elem
node-count: int32
nodes: inline-array
vertex-count: int32
vertex: inline-array
poly-count: int32
poly: inline-array
route: inline-array
Methods
setup-portal(obj: nav-mesh, arg0: nav-poly, arg1: nav-poly, arg2: nav-route-portal) => objectsource
initialize-mesh!(obj: nav-mesh) => nonesource
move-along-nav-ray!(obj: nav-mesh, arg0: nav-ray) => nonesource
try-move-along-ray(obj: nav-mesh, arg0: nav-poly, arg1: vector, arg2: vector, arg3: float) => meterssource
nav-mesh-method-16(obj: nav-mesh, arg0: vector, arg1: nav-poly, arg2: vector, arg3: symbol, arg4: float, arg5: clip-travel-vector-to-mesh-return-info) => nonesource
update-route-table(obj: nav-mesh) => nonesource
nav-mesh-method-18(obj: nav-mesh, arg0: int, arg1: vector, arg2: int, arg3: pointer, arg4: int) => nonesource
compute-bounding-box(obj: nav-mesh, arg0: vector, arg1: vector) => nonesource
debug-draw-poly(obj: nav-mesh, arg0: nav-poly, arg1: rgba) => nonesource
point-in-poly?(obj: nav-mesh, arg0: nav-poly, arg1: vector) => symbolsource
find-opposite-vertices(obj: nav-mesh, arg0: nav-poly, arg1: nav-poly) => uintsource
nav-mesh-method-23(obj: nav-mesh, arg0: nav-poly, arg1: vector, arg2: vector, arg3: vector, arg4: nav-route-portal) => vectorsource
closest-point-on-boundary(obj: nav-mesh, arg0: nav-poly, arg1: vector, arg2: vector) => vectorsource
project-point-into-tri-2d(obj: nav-mesh, arg0: nav-poly, arg1: vector, arg2: vector) => vectorsource
is-in-mesh?(obj: nav-mesh, arg0: vector, arg1: float, arg2: meters) => symbolsource
nav-node: structuresource
nav-ray: structuresource
nav-route-portal: structuresource
Functions
has-nav-mesh?(arg0: entity-actor) => symbolsource
Does the actor have a nav mesh? Either loaded an in the nav-mesh field, or in
the res-lump.
the res-lump.