markNavMeshDirty
markNavMeshDirty(
step,markNavMeshDirtyOptions):void
Rebakes the navmesh tiles a box meets from the colliders and the ground
as they stand, as Unreal’s dirty areas and Unity’s
UpdateNavMeshDataAsync take bounds: for a collider change the engine
did not hear, such as one engine code wrote in place with no mark. The
box belongs to the character controller until its tiles rebake. The
step rebakes queued tiles two a tick, oldest first, so a box over one
to four tiles lands within two ticks, and a larger one takes a tick
for each two of its tiles. A collider’s marked change needs no call.
Geometry the navmesh never reads, such as a game’s own collision code,
it does not take: the bake reads the ground, the scatter and the
Entities’ colliders alone.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
step |
AuthoritativeStep | PredictedStep |
markNavMeshDirtyOptions |
MarkNavMeshDirtyOptions |
Returns
Section titled “Returns”void