Partager via


GKGoal.GetGoalToSeparate(GKAgent[], Single, Single) Méthode

Définition

Méthode de fabrique pour produire un GKGoal approprié pour le comportement de flocage, en évitant d’autres agents (voir aussi GetGoalToCohere(GKAgent[], Single, Single) et GetGoalToAlign(GKAgent[], Single, Single)).

[Foundation.Export("goalToSeparateFromAgents:maxDistance:maxAngle:")]
public static GameplayKit.GKGoal GetGoalToSeparate (GameplayKit.GKAgent[] agents, float maxDistance, float maxAngle);
static member GetGoalToSeparate : GameplayKit.GKAgent[] * single * single -> GameplayKit.GKGoal

Paramètres

agents
GKAgent[]
maxDistance
Single
maxAngle
Single

Retours

Attributs

S’applique à