Steering represents the output of SteeringBehaviors as a velocity request and an angularvelocity (rotation) request. More...
Public Member Functions | |
| Steering () | |
| Default constructor. | |
Static Public Member Functions | |
| static Steering | operator/ (Steering s, float div) |
| Reduce the contribution of the steering behavior through division. | |
| static Steering | operator* (Steering s, float mult) |
| Increase the contribution of the steering behavior through multiplication. | |
| static Steering | operator- (Steering s1, Steering s2) |
| Subtract one steering behavior from another. The result is a subtraction of the two vectors for velocity and angular velocity. | |
| static Steering | operator+ (Steering s1, Steering s2) |
| Add one steering behavior to another. The result is an addition of the two vectors for velocity and angular velocity. | |
| static Steering | Negate (Steering s) |
| Negate inverts the values of the velocity and angular velocity vectors. | |
Properties | |
| Vector3 | Velocity [get, set] |
| Velocity Property accessor. | |
| Vector3 | AngularVelocity [get, set] |
| Angular Velocity Property accessor. | |
| static Steering | Zero [get] |
| Returns a Steering instance that represents no steering. | |
Steering represents the output of SteeringBehaviors as a velocity request and an angularvelocity (rotation) request.
| RAIN.Motion.Instantaneous.Steering.Steering | ( | ) |
Default constructor.
Negate inverts the values of the velocity and angular velocity vectors.
| s | The Steering to negate |
Increase the contribution of the steering behavior through multiplication.
| s | The steering behavior to increase |
| mult | The multiplier |
Add one steering behavior to another. The result is an addition of the two vectors for velocity and angular velocity.
| s1 | The steering behavior to add to |
| s2 | The steering behavior to add |
Subtract one steering behavior from another. The result is a subtraction of the two vectors for velocity and angular velocity.
| s1 | The steering behavior to subtract from |
| s2 | The steering behavior to subtract |
Reduce the contribution of the steering behavior through division.
| s | The steering behavior to reduce |
| div | The divisor |
Vector3 RAIN.Motion.Instantaneous.Steering.AngularVelocity [get, set] |
Angular Velocity Property accessor.
Vector3 RAIN.Motion.Instantaneous.Steering.Velocity [get, set] |
Velocity Property accessor.