SteeringBehavior is the base class for all steering behaviors. SteeringBehaviors should override whichever Steer methods they support and leave the rest unchanged. Unhandled behaviors will return an empty (no-op) steering. More...
Public Member Functions | |
| virtual Steering | Steer (Kinematic agent) |
| Produce a steering effect for an AI agent. | |
| virtual Steering | Steer (Kinematic agent, GameObject target) |
| Produce a steering effect for an AI agent given a target. | |
| virtual Steering | Steer (Kinematic agent, Kinematic target) |
| Produce a steering effect for an AI agent given a target identified as a Kinematic. | |
| virtual Steering | Steer (Kinematic agent, GameObject[] scope) |
| Produce a steering effect for an AI agent given a group of targets/participants. This might be used, for example, for flocking or avoidance. | |
| virtual Steering | Steer (Agent agent, List< Agent > scope) |
| Produce a steering effect for an AI agent given a list of targets/participants. This might be used, for example, for flocking or avoidance. | |
SteeringBehavior is the base class for all steering behaviors. SteeringBehaviors should override whichever Steer methods they support and leave the rest unchanged. Unhandled behaviors will return an empty (no-op) steering.
Produce a steering effect for an AI agent.
| agent | The agent Kinematic to be steered |
Reimplemented in RAIN.Motion.Instantaneous.SB_LookWhereYoureGoing, RAIN.Motion.Instantaneous.SB_StopMoving, and RAIN.Motion.Instantaneous.SB_Wander.
| virtual Steering RAIN.Motion.Instantaneous.SteeringBehavior.Steer | ( | Agent | agent, |
| List< Agent > | scope | ||
| ) | [virtual] |
Produce a steering effect for an AI agent given a list of targets/participants. This might be used, for example, for flocking or avoidance.
| agent | The agent Kinematic to be steered |
| scope | A list of AI Agents relevant to the steering behavior |
Reimplemented in RAIN.Motion.Instantaneous.SB_Avoid, RAIN.Motion.Instantaneous.SB_Cohesion, and RAIN.Motion.Instantaneous.SB_StopMoving.
| virtual Steering RAIN.Motion.Instantaneous.SteeringBehavior.Steer | ( | Kinematic | agent, |
| GameObject[] | scope | ||
| ) | [virtual] |
Produce a steering effect for an AI agent given a group of targets/participants. This might be used, for example, for flocking or avoidance.
| agent | The agent Kinematic to be steered |
| scope | An array of game objects relevant to the steering behavior |
Reimplemented in RAIN.Motion.Instantaneous.SB_Cohesion, and RAIN.Motion.Instantaneous.SB_Separate.
| virtual Steering RAIN.Motion.Instantaneous.SteeringBehavior.Steer | ( | Kinematic | agent, |
| Kinematic | target | ||
| ) | [virtual] |
Produce a steering effect for an AI agent given a target identified as a Kinematic.
| agent | The agent Kinematic to be steered |
| target | The target Kinematic to use |
Reimplemented in RAIN.Motion.Instantaneous.SB_Align, RAIN.Motion.Instantaneous.SB_Arrive, RAIN.Motion.Instantaneous.SB_Avoid, RAIN.Motion.Instantaneous.SB_Cohesion, RAIN.Motion.Instantaneous.SB_Face, RAIN.Motion.Instantaneous.SB_Flee, RAIN.Motion.Instantaneous.SB_Pursue, RAIN.Motion.Instantaneous.SB_Seek, RAIN.Motion.Instantaneous.SB_Separate, and RAIN.Motion.Instantaneous.SB_StopMoving.