The outward unit normal of a collider at a point of its surface: a
sphere's radius through it, a capsule's from the nearest point of its
axis, and, for a box or a hull, the gradient of the smooth maximum of its
face planes (SMOOTH): the face normals weighed by how near the point
lies to each plane. Farther from edges, the closest face dominates; a
point that crosses an edge turns its normal continuously from one face's
to the next, where a face's own normal would step by their angle.
The fallback where the radius or the axis offset has no length.
The outward unit normal of a collider at a point of its surface: a sphere's radius through it, a capsule's from the nearest point of its axis, and, for a box or a hull, the gradient of the smooth maximum of its face planes (
SMOOTH): the face normals weighed by how near the point lies to each plane. Farther from edges, the closest face dominates; a point that crosses an edge turns its normal continuously from one face's to the next, where a face's own normal would step by their angle. The fallback where the radius or the axis offset has no length.