RAIN.Motion.Instantaneous.SB_Arrive Class Reference

SB_Arrive is a steering behavior used to move to a target and arrive smoothly (slowing down as you get there). This only impacts position, not orientation. More...

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

List of all members.

Public Member Functions

 SB_Arrive (float timeToTarget, float slowRadius, float closeEnoughRadius)
 Parameterized constructor.
override Steering Steer (Kinematic agent, Kinematic target)
 See SteeringBehavior.

Detailed Description

SB_Arrive is a steering behavior used to move to a target and arrive smoothly (slowing down as you get there). This only impacts position, not orientation.


Constructor & Destructor Documentation

RAIN.Motion.Instantaneous.SB_Arrive.SB_Arrive ( float  timeToTarget,
float  slowRadius,
float  closeEnoughRadius 
)

Parameterized constructor.

Parameters:
timeToTargetThe time in the future we want to achieve the result. This helps smooth rotation.
slowRadiusHow close do we get before we start slowing down?
closeEnoughRadiusHow close do we need to get? in positional units.

Member Function Documentation

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

See SteeringBehavior.

Parameters:
agent
target
Returns:

Reimplemented from RAIN.Motion.Instantaneous.SteeringBehavior.