§113's centre-of-mass display: a cross at every body's world-space centre
of mass — three segments per body, in ascending body id.
This is the marker collectBodyOrigins deliberately is not: the
solver's resolved centre of mass, collider offsets, densities and authored
overrides included, read through
SolverBodyAccess.getBodyCenterOfMass (the member that unstaged this
provider, 2026-08-04). For an off-centre or compound body the two crosses
visibly separate, which is precisely the situation the marker exists for.
Returns the number of segments appended (3 per drawn body).
§113's centre-of-mass display: a cross at every body's world-space centre of mass — three segments per body, in ascending body id.
This is the marker collectBodyOrigins deliberately is not: the solver's resolved centre of mass, collider offsets, densities and authored overrides included, read through
SolverBodyAccess.getBodyCenterOfMass(the member that unstaged this provider, 2026-08-04). For an off-centre or compound body the two crosses visibly separate, which is precisely the situation the marker exists for.Returns the number of segments appended (
3per drawn body).