#include <MdtKea.h>
Public Attributes | |
| int | tag |
| Data stucture tag. More... | |
| int | len |
| Total length of data structure. More... | |
| MeReal | invmass |
| 1/Mass of the body. More... | |
| int | fastSpin |
| Nonzero applies fast rotation hack. More... | |
| MeVector4 | force |
| Applied (to centre of mass) force. More... | |
| MeVector4 | torque |
| Applied torque. More... | |
| MeVector4 | invI0 |
| Inverse of 3x3 inertia tensor - row 0. More... | |
| MeVector4 | invI1 |
| Inverse of 3x3 inertia tensor - row 1. More... | |
| MeVector4 | invI2 |
| Inverse of 3x3 inertia tensor - row 2. More... | |
| MeVector4 | I0 |
| The 3x3 inertia tensor - row 0. More... | |
| MeVector4 | I1 |
| The 3x3 inertia tensor - row 1. More... | |
| MeVector4 | I2 |
| The 3x3 inertia tensor - row 2. More... | |
| MeVector4 | vel |
| Linear velocity of body. More... | |
| MeVector4 | velrot |
| Angular velocity of body. More... | |
| MeVector4 | qrot |
| Body orientation quaternion. More... | |
| MeVector4 | accel |
| Linearl Acceleration of body (READ ONLY). More... | |
| MeVector4 | accelrot |
| Angular acceleration of body (READ ONLY). More... | |
| MeVector4 | fastSpinAxis |
| Axis of assumed fast rotation (unit length). More... | |
After a time step, the contents of 'force' and 'torque' will be the total applied forces plus any forces and torques due to constraints. These MUST BE RE-ZEROED before accumulating values for the next time step.
|
The 3x3 inertia tensor - row 0.
|
The 3x3 inertia tensor - row 1.
|
The 3x3 inertia tensor - row 2.
|
Linearl Acceleration of body (READ ONLY).
|
Angular acceleration of body (READ ONLY).
|
Nonzero applies fast rotation hack.
|
Axis of assumed fast rotation (unit length).
|
Applied (to centre of mass) force.
|
Inverse of 3x3 inertia tensor - row 0.
|
Inverse of 3x3 inertia tensor - row 1.
|
Inverse of 3x3 inertia tensor - row 2.
|
1/Mass of the body.
|
Total length of data structure.
|
Body orientation quaternion.
|
Data stucture tag.
Should be MdtKeaBODYVER1.
|
Applied torque.
|
Linear velocity of body.
|
Angular velocity of body.
Copyright MathEngine PLC 2000, all rights reserved.