The largest extent of shape from its own origin, in world units (§41).
One number that stands in for "how big is this", for the §41 world-scale
diagnostic — not a bounding radius anybody should simulate against, which is
why it is deliberately cheap: half-extents and radii are read directly, and a
vertex list is walked once for its farthest point (Chebyshev distance, so no
square roots on a mesh with a hundred thousand vertices).
A shape with no vertices at all answers 0; every such shape is rejected by
validateCollisionShape long before this is asked.
The largest extent of
shapefrom its own origin, in world units (§41).One number that stands in for "how big is this", for the §41 world-scale diagnostic — not a bounding radius anybody should simulate against, which is why it is deliberately cheap: half-extents and radii are read directly, and a vertex list is walked once for its farthest point (Chebyshev distance, so no square roots on a mesh with a hundred thousand vertices).
A shape with no vertices at all answers
0; every such shape is rejected by validateCollisionShape long before this is asked.