Distance between the two contact points. If this is negative, this contact represents a penetration.
Contact normal, pointing towards the exterior of the first shape.
Contact normal, pointing towards the exterior of the second shape. If these contact data are expressed in world-space, this normal is equal to -normal1.
Position of the contact on the first shape.
Position of the contact on the second shape.
Static fromThe raw contact returned by the WASM query. It is freed by this method.
Optional target: ShapeContactIf provided, this object is populated and returned instead of allocating a new one.
The contact info between two shapes.