Readonlycollision§24 bit set of the groups this collider belongs to.
Readonlycollision§24 bit set of the groups it collides with.
Optional Readonlydensity§24 density, present only when the collider authored one.
Optional Readonlyfriction§24 Coulomb friction, present only when the collider authored one.
Optional Readonlymaterial§25 shared surface properties, by value, when the collider had one.
Readonlyoffset§24 offset in the body's local frame, as {position, rotation}.
Always written, unlike the three §25 coefficients below: an absent offset
and an identity offset mean exactly the same thing to a solver, so there is
no authoring statement for the absence to preserve. A document that omits
it — a hand-edited one, or one an older build wrote — restores the
identity, which is Collider's own default.
Optional Readonlyrestitution§24 restitution, present only when the collider authored one.
Readonlysensor§24 sensor flag — a sensor reports overlaps and exerts no force.
Readonlyshape§24 geometry, in serializeCollisionShape's form.
The document COLLIDER_SERIALIZER writes.
friction,restitution, anddensityare the authored §24 fields, not the resolved §25 values: absent means "fall back", which is a statement the document has to be able to make. See the module header.