Edit

Share via


GKGoal.GetGoalToAvoidAgents(GKAgent[], Double) Method

Definition

Factory method to create a GKGoal that attemps to avoid collisions with the specified GKAgent objects.

[Foundation.Export("goalToAvoidAgents:maxPredictionTime:")]
public static GameplayKit.GKGoal GetGoalToAvoidAgents (GameplayKit.GKAgent[] agents, double maxPredictionTime);
static member GetGoalToAvoidAgents : GameplayKit.GKAgent[] * double -> GameplayKit.GKGoal

Parameters

agents
GKAgent[]
maxPredictionTime
Double

Returns

Attributes

Applies to