Property | Type | Description | |
---|---|---|---|
ComputedSteeringForce | Microsoft.Xna.Framework.Vector3 |
Method | Description | |
---|---|---|
CanCompute ( ) : bool |
Defines if the current steering behavior can execute or not. Override this method to add a global condition to this behavior |
|
Compute ( ) : void |
Computes the current Steering Behavior
|
|
ResetSteeringForce ( ) : void |
Method | Description | |
---|---|---|
SteeringBehavior ( ) : Microsoft.Xna.Framework |
Creates a new instance
|
|
SteeringBehavior ( float weight ) : Microsoft.Xna.Framework |
Creates a new instance
|
|
SteeringBehavior ( float weight, float probability ) : Microsoft.Xna.Framework |
Creates a new instance
|
protected SteeringBehavior ( ) : Microsoft.Xna.Framework | ||
return | Microsoft.Xna.Framework |
protected SteeringBehavior ( float weight ) : Microsoft.Xna.Framework | ||
weight | float | The weight of this steering behavior when computed with others |
return | Microsoft.Xna.Framework |
protected SteeringBehavior ( float weight, float probability ) : Microsoft.Xna.Framework | ||
weight | float | The weight of this steering behavior when computed with others |
probability | float | A float value between 0f and 1f defining the chances this steering behavior may compute when used with Dithering Computation algorithm |
return | Microsoft.Xna.Framework |