RAIN.Motion.Instantaneous.SB_Flee Class Reference

SB_Flee is a steering behavior that attempts to move the AI away from a target at maximum velocity. More...

Inheritance diagram for RAIN.Motion.Instantaneous.SB_Flee:
RAIN.Motion.Instantaneous.SteeringBehavior

List of all members.

Public Member Functions

 SB_Flee ()
 Default constructor.
override Steering Steer (Kinematic agent, Kinematic target)
 See SteeringBehavior.

Detailed Description

SB_Flee is a steering behavior that attempts to move the AI away from a target at maximum velocity.


Constructor & Destructor Documentation

RAIN.Motion.Instantaneous.SB_Flee.SB_Flee ( )

Default constructor.


Member Function Documentation

override Steering RAIN.Motion.Instantaneous.SB_Flee.Steer ( Kinematic  agent,
Kinematic  target 
) [virtual]

See SteeringBehavior.

Parameters:
agent
target
Returns:

Reimplemented from RAIN.Motion.Instantaneous.SteeringBehavior.