Struct SolverBody

Per-body data for the solver. Index 0 is a sentinel for the static side of a constraint (null/immovable), so the loops need no null checks.

struct SolverBody

Per-body data for the solver. Index 0 is a sentinel for the static side of a constraint (null/immovable), so the loops need no null checks.

Public Members

fm_vec3_t linearVelocity = {}
fm_vec3_t angularVelocity = {}
fm_vec3_t pushLinearVelocity = {}
fm_vec3_t pushAngularVelocity = {}
RigidBody *body = {nullptr}