My program doesn't have bugs. It just develops random features.

UE3:NavMeshPath_BiasAgainstPolysWithinDistanceOfLocations (UDK)

From Unreal Wiki, The Unreal Engine Documentation Site
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

DistanceToCheck

Type: float

Modifiers: transient

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

Location

Type: Object.Vector

Modifiers: transient

Location to compare from *

LocationsToCheck

Type: array<Object.Vector>

Modifiers: transient

Set of places we have spawned before *

Rotation

Type: Object.Vector

Modifiers: transient


Functions

Static functions

BiasAgainstPolysWithinDistanceOfLocations

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


Events

Recycle

event Recycle ()

Overrides: NavMeshPathConstraint.Recycle