Every parameter defaults to 0 when it is absent or malformed, which
validateCollisionShape then rejects at the Collider constructor — so a
damaged document fails with §85's own message about the shape, naming the
radius or the extent, rather than with a second message invented here. The
tag is the exception: an unknown one is refused directly, because there is
nothing left to construct.
Rebuilds a §24 collision shape from serializeCollisionShape's form.
Every parameter defaults to
0when it is absent or malformed, whichvalidateCollisionShapethen rejects at theColliderconstructor — so a damaged document fails with §85's own message about the shape, naming the radius or the extent, rather than with a second message invented here. The tag is the exception: an unknown one is refused directly, because there is nothing left to construct.