Struct ContactConstraint¶
Contact constraint representing a pair of colliding rigid bodies.
-
struct ContactConstraint¶
Contact constraint representing a pair of colliding rigid bodies.
Public Members
-
ContactConstraintKey key = {}¶
-
MeshCollider *meshColliderA = {nullptr}¶
-
MeshCollider *meshColliderB = {nullptr}¶
-
fm_vec3_t normal = {}¶
-
fm_vec3_t tangentU = {}¶
-
fm_vec3_t tangentV = {}¶
-
fm_vec3_t cachedSeparatingAxis = {}¶
-
float combinedFriction = {0.0f}¶
-
float combinedBounce = {0.0f}¶
-
int pointCount = {0}¶
-
uint32_t transformVersionA = {0}¶
-
uint32_t transformVersionB = {0}¶
-
bool isActive = {false}¶
-
bool isTrigger = {false}¶
-
bool respondsA = {true}¶
-
bool respondsB = {true}¶
-
ContactPoint points[MAX_CONTACT_POINTS_PER_PAIR] = {}¶
-
ContactConstraintKey key = {}¶