Forces projected on the 6 half-axis of a physics geometry.
struct ContactForces {
MU32 dwValueTime;
union {
struct {
float fXP;
float fXM;
float fYP;
float fYM;
float fZP;
float fZM;
};
struct {
float Forces[6];
};
};
};modacommons.h
|
Members |
Description |
|
float fXP; |
Force projected on X+ axis. |
|
float fXM; |
Force projected on X- axis. |
|
float fYP; |
Force projected on Y+ axis. |
|
float fYM; |
Force projected on Y- axis. |
|
float fZP; |
Force projected on Z+ axis. |
|
float fZM; |
Force projected on Z- axis. |
|
float Forces[6]; |
Array of forces projected on the 6 half-axis: X-, X+, Y-, Y+, Z-, Z+. |
The structure contains the forces generated by contacts points on the geometry. The forces are projected on the 6 half-axis for emulating 6 forces sensors. This structure is used by the device Contact.
|
Documentation v4.7 (18/01/2015), Copyright (c) 2015 anyKode. All rights reserved.
|
|
What do you think about this topic? Send feedback!
|