Tanoda
|
Public Member Functions | |
Pose | ToPose () |
Movement (Vector3 velocity) | |
Constructs a linear Movement involving no rotation. More... | |
Movement (Vector3 velocity, Vector3 angularVelocity) | |
Constructs a Movement with a specified linear velocity and an angular velocity. More... | |
Movement (Pose fromPose, Pose toPose, float dt=1f) | |
Returns the Movement necessary to go from Pose p0 to Pose p1 in dt seconds. You can ignore the time parameter if you wish simply to store delta positions and angle-axis vector rotations. More... | |
void | Integrate (Vector3 linearAcceleration, float deltaTime) |
Discretely integrates this Movement's velocity by a linear acceleration over deltaTime. More... | |
void | Integrate (Vector3 linearAcceleration, Vector3 angularAcceleration, float deltaTime) |
Discretely integrates this Movement's velocity and angular velocity by both a linear acceleration term and an angular acceleration term and a deltaTime. More... | |
Static Public Member Functions | |
static Movement | operator* (Movement movement, float multiplier) |
static Movement | operator/ (Movement movement, float divisor) |
static Movement | operator+ (Movement movement0, Movement movement1) |
Public Attributes | |
Vector3 | velocity |
The linear velocity of this Movement. More... | |
Vector3 | angularVelocity |
Angular velocity expressed as an angle-axis vector with angle equal to the length of the vector in degrees. More... | |
Static Public Attributes | |
static readonly Movement | identity = new Movement() |
Properties | |
Movement | inverse [get] |
Definition at line 13 of file Movement.cs.
Leap.Unity.Movement.Movement | ( | Vector3 | velocity | ) |
Constructs a linear Movement involving no rotation.
Definition at line 55 of file Movement.cs.
Leap.Unity.Movement.Movement | ( | Vector3 | velocity, |
Vector3 | angularVelocity | ||
) |
Constructs a Movement with a specified linear velocity and an angular velocity.
Definition at line 63 of file Movement.cs.
Returns the Movement necessary to go from Pose p0 to Pose p1 in dt seconds. You can ignore the time parameter if you wish simply to store delta positions and angle-axis vector rotations.
Definition at line 73 of file Movement.cs.
void Leap.Unity.Movement.Integrate | ( | Vector3 | linearAcceleration, |
float | deltaTime | ||
) |
Discretely integrates this Movement's velocity by a linear acceleration over deltaTime.
Definition at line 87 of file Movement.cs.
void Leap.Unity.Movement.Integrate | ( | Vector3 | linearAcceleration, |
Vector3 | angularAcceleration, | ||
float | deltaTime | ||
) |
Discretely integrates this Movement's velocity and angular velocity by both a linear acceleration term and an angular acceleration term and a deltaTime.
Definition at line 96 of file Movement.cs.
Definition at line 32 of file Movement.cs.
Definition at line 47 of file Movement.cs.
Definition at line 37 of file Movement.cs.
Pose Leap.Unity.Movement.ToPose | ( | ) |
Definition at line 41 of file Movement.cs.
Vector3 Leap.Unity.Movement.angularVelocity |
Angular velocity expressed as an angle-axis vector with angle equal to the length of the vector in degrees.
Definition at line 24 of file Movement.cs.
Definition at line 26 of file Movement.cs.
Vector3 Leap.Unity.Movement.velocity |
The linear velocity of this Movement.
Definition at line 18 of file Movement.cs.
|
get |
Definition at line 28 of file Movement.cs.