Worst-case scenario: the UEd Goblin wipes the map and burns down your house.

UE3:NavMeshPath_WithinDistanceEnvelope (UDK)

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 05:42, 17 January 2010 by Wormbo (Talk | contribs) (1 revision: class descriptions for UDK January update (part 3))

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
UDK Object >> NavMeshPathConstraint >> NavMeshPath_WithinDistanceEnvelope
Package: 
Engine


Properties

Property group 'NavMeshPath_WithinDistanceEnvelope'

bOnlyThrowOutNodesThatLeaveEnvelope

Type: bool

when bSoft is false, should we throw out nodes whose start and end are both outside the envelope?

bSoft

Type: bool

if this is on instead of throwing out nodes outside traversal distance they will be gradiently penalized the further out they are

Default value: True

EnvelopeTestPoint

Type: Object.Vector


MaxDistance

Type: float

outer distance of envelope (distance from test actor)

MinDistance

Type: float

inner distance of envelope (distance from test actor)

SoftStartPenalty

Type: float

when a path exceeds specified traversal distance this penalty will be applied, and scaled up depending on how far outside the dist it is

Default value: 320.0

Functions

Static functions

StayWithinEnvelopeToLoc

static function bool StayWithinEnvelopeToLoc (NavigationHandle NavHandle, Object.Vector InEnvelopeTestPoint, float InMaxDistance, float InMinDistance, bool bInSoft, optional float InSoftStartPenalty, optional bool bOnlyTossOutSpecsThatLeave)


Events

Recycle

event Recycle ()

Overrides: NavMeshPathConstraint.Recycle