Body state, designed for fast conversion to and from SIMD via
scatter-gather. Only awake dynamic and kinematic bodies have a body state.
Used in the performance critical constraint solver. (b2BodyState, 32 bytes)
Location of a body’s sim data: (set_index, local_index). Use to borrow the
BodySim through world.solver_sets. (b2GetBodySim resolves to a pointer in
C; the index pair is the borrow-safe equivalent.)
Build a sweep relative to a base position so continuous collision keeps
float precision far from the origin. The base cancels out of the relative
motion the TOI actually solves. (b2MakeRelativeSweep)