I love the smell of UnrealEd crashing in the morning. – tarquin

UE3:NavMeshPath_BiasAgainstPolysWithinDistanceOfLocations (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_BiasAgainstPolysWithinDistanceOfLocations
Package: 
GameFramework

This constraint is to make path searches be biased against choosing in the same set polys over and over. For Example: if we spawn in place a b c we do not want to spawn there again if there is a place d that matches our criteria for spawning of guys. We often use this for determining places that No One Has Spawned Near Here Before.

Properties[edit]

DistanceToCheck[edit]

Type: float

Modifiers: transient

How far we want to spawn away from a previous spawn. *

Location[edit]

Type: Object.Vector

Modifiers: transient

Location to compare from *

LocationsToCheck[edit]

Type: array<Object.Vector>

Modifiers: transient

Set of places we have spawned before *

Rotation[edit]

Type: Object.Vector

Modifiers: transient


Functions[edit]

Static functions[edit]

BiasAgainstPolysWithinDistanceOfLocations[edit]

static function bool BiasAgainstPolysWithinDistanceOfLocations (NavigationHandle NavHandle, const Object.Vector InLocation, const Object.Rotator InRotation, const float InDistanceToCheck, const array<Object.VectorInLocationsToCheck)


Events[edit]

Recycle[edit]

event Recycle ()

Overrides: NavMeshPathConstraint.Recycle