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 (vs)

Apply this modifier on a raw Vector3 list.

Public
Apply (path)

Called for each path that the Seeker calculates after the calculation has finished.

Public

Public Static Methods

AddComp (command)
Public Static

Public Variables

detail

Detail of generated circle segments.

Public
Order
Public
radius

Radius of the circle segments generated.

Public

Inherited Public Members

PreProcess (path)
Public
seeker
Public

Private/Protected Members

a1
Private
a2
Private
Awake ()
Protected
CalculateCircleInner (p1, p2, r1, r2, a, sigma)

Calculates inner tangents for a pair of circles.

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

Calculates outer tangents for a pair of circles.

Private
CalculateTangentType (p1, p2, p3, p4)
Private
CalculateTangentTypeSimple (p1, p2, p3)
Private
dir
Private
OnDisable ()
Protected
OnEnable ()

Alerts the Seeker that this modifier exists.

Protected
OnUpgradeSerializedData (version, unityThread)

Handle serialization backwards compatibility.

Protected
radi
Private
Reset ()

Handle serialization backwards compatibility.

Protected
TangentType
Private