Struct SolverConstraintHeader

Per-constraint data for the normal (non-penetration) iterations.

struct SolverConstraintHeader

Per-constraint data for the normal (non-penetration) iterations.

linearResponse* is the velocity change per unit normal impulse, and is zeroed when that side can’t respond

Public Members

fm_vec3_t normal = {}
fm_vec3_t linearResponseA = {}
fm_vec3_t linearResponseB = {}
uint16_t bodyA = {0}
uint16_t bodyB = {0}
uint16_t pointStart = {0}
uint16_t pointCount = {0}