base offset for all contact points
material id of sub-shape A
material id of sub-shape B
number of active contact points (0-64 during clipping, 0-4 after reduction)
penetration depth for the entire manifold (single value, not per-point)
contact point positions on shape A relative to baseOffset (flat array: [x1,y1,z1, x2,y2,z2, ...])
contact point positions on shape B relative to baseOffset (flat array: [x1,y1,z1, x2,y2,z2, ...])
sub-shape id of shape A
sub-shape id of shape B
contact normal (world space, normalized, points from A to B)
Contact manifold between two shapes.
Contact points are stored relative to baseOffset.
Pre-allocates space for 64 contact points During manifold generation: