Steering represents the output of SteeringBehaviors as an acceleration request and an angular acceleration 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 acceleration and angular acceleration. | |
static Steering | operator+ (Steering s1, Steering s2) |
Add one steering behavior to another. The result is an addition of the two vectors for acceleration and angular acceleration. | |
static Steering | Negate (Steering s) |
Negate inverts the values of the acceleration and angular acceleration vectors. | |
Properties | |
Vector3 | Acceleration [get, set] |
Acceleration Property accessor. | |
Vector3 | AngularAcceleration [get, set] |
AngularAcceleration Property accessor. | |
static Steering | Zero [get] |
Returns a Steering instance that represents no steering. |
Steering represents the output of SteeringBehaviors as an acceleration request and an angular acceleration request.
Default constructor.
static Steering RAIN.Motion.Acceleration.Steering.Negate | ( | Steering | s | ) | [static] |
Negate inverts the values of the acceleration and angular acceleration 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 acceleration and angular acceleration.
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 acceleration and angular acceleration.
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.Acceleration.Steering.Acceleration [get, set] |
Acceleration Property accessor.
Vector3 RAIN.Motion.Acceleration.Steering.AngularAcceleration [get, set] |
AngularAcceleration Property accessor.
Steering RAIN.Motion.Acceleration.Steering.Zero [static, get] |
Returns a Steering instance that represents no steering.