SB_Wander is a steering behavior that attempts to produce a random wandering motion Wandering is defined by steering toward a target rotating randomly around a circle at some distance in front of the AI. More...
Public Member Functions | |
| SB_Wander (float floatingDistance, float floatingRadius, float maxSlideDegrees, SteeringBehavior move, SteeringBehavior look) | |
| Parameterized constructor. | |
| override Steering | Steer (Kinematic agent) |
| See SteeringBehavior. | |
SB_Wander is a steering behavior that attempts to produce a random wandering motion Wandering is defined by steering toward a target rotating randomly around a circle at some distance in front of the AI.
| RAIN.Motion.Instantaneous.SB_Wander.SB_Wander | ( | float | floatingDistance, |
| float | floatingRadius, | ||
| float | maxSlideDegrees, | ||
| SteeringBehavior | move, | ||
| SteeringBehavior | look | ||
| ) |
Parameterized constructor.
| floatingDistance | Distance in front of the AI to place the wander circle |
| floatingRadius | Size of the wander circle |
| maxSlideDegrees | Max degrees the target can rotate in one timestep |
| move | The steering behavior to use for linear movement |
| look | The steering behavior to use for angular rotation |
See SteeringBehavior.
| agent |
Reimplemented from RAIN.Motion.Instantaneous.SteeringBehavior.