Class RadiusModifier Extends MonoModifier

Public

Radius path modifier for offsetting paths.

The radius modifier will offset the path to create the effect of adjusting it to the characters radius. It gives good results on navmeshes which have not been offset with the character radius during scan. Especially useful when characters with different radiuses are used on the same navmesh. It is also useful when using rvo local avoidance with the RVONavmesh since the RVONavmesh assumes the navmesh has not been offset with the character radius.

This modifier assumes all paths are in the XZ plane (i.e Y axis is up).

It is recommended to use the Funnel Modifier on the path as well.

See

RVONavmesh

Modifiers

Also check out the howto page "Using Modifiers".

A* Pro Feature

This is an A* Pathfinding Project Pro feature only. This function/class/variable might not exist in the Free version of the A* Pathfinding Project or the functionality might be limited.
The Pro version can be bought here

Since

Added in 3.2.6

Public Methods

Apply (...)

...

Public Static Methods

AddComp (command)

Public Variables

Order

Modifiers will be executed from lower order to higher order.

Public
detail

Detail of generated circle segments.

Public
radius

Radius of the circle segments generated.

Public

Inherited Public Members

PreProcess (path)
seeker
Public

Private/Protected Members

Awake ()
CalculateCircleInner (p1, p2, r1, r2, a, sigma)

Calculates inner tangents for a pair of circles.

CalculateCircleOuter (p1, p2, r1, r2, a, sigma)

Calculates outer tangents for a pair of circles.

CalculateTangentType (p1, p2, p3, p4)

Alerts the Seeker that this modifier exists.

OnUpgradeSerializedData (migrations, unityThread)

Handle serialization backwards compatibility.

Reset ()

Handle serialization backwards compatibility.

TangentType
Private
UpgradeSerializedData (isUnityThread)
a1
Private
a2
Private
dir
Private
radi
Private