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...
Public Member Functions | |
| SB_Arrive (float timeToTarget, float slowRadius, float closeEnoughRadius) | |
| Parameterized constructor. | |
| override Steering | Steer (Kinematic agent, Kinematic target) |
| See SteeringBehavior. | |
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.
| RAIN.Motion.Instantaneous.SB_Arrive.SB_Arrive | ( | float | timeToTarget, |
| float | slowRadius, | ||
| float | closeEnoughRadius | ||
| ) |
Parameterized constructor.
| timeToTarget | The time in the future we want to achieve the result. This helps smooth rotation. |
| slowRadius | How close do we get before we start slowing down? |
| closeEnoughRadius | How close do we need to get? in positional units. |
| override Steering RAIN.Motion.Instantaneous.SB_Arrive.Steer | ( | Kinematic | agent, |
| Kinematic | target | ||
| ) | [virtual] |
See SteeringBehavior.
| agent | |
| target |
Reimplemented from RAIN.Motion.Instantaneous.SteeringBehavior.