SB_Pursue is a steering behavior that attempts to steer toward the future position of a target based on its current velocity. More...
Public Member Functions | |
SB_Pursue (float timeToTarget, float slowRadius, float closeEnoughRadius) | |
Parameterized constructor. | |
override Steering | Steer (Kinematic agent, Kinematic target) |
See SteeringBehavior. |
SB_Pursue is a steering behavior that attempts to steer toward the future position of a target based on its current velocity.
RAIN.Motion.Instantaneous.SB_Pursue.SB_Pursue | ( | float | timeToTarget, |
float | slowRadius, | ||
float | closeEnoughRadius | ||
) |
Parameterized constructor.
timeToTarget | Time in the future we want to arrive at the target |
slowRadius | Distance from the target to begin slowing |
closeEnoughRadius | How close do we have to get? |
override Steering RAIN.Motion.Instantaneous.SB_Pursue.Steer | ( | Kinematic | agent, |
Kinematic | target | ||
) | [virtual] |
See SteeringBehavior.
agent | |
target |
Reimplemented from RAIN.Motion.Instantaneous.SteeringBehavior.