An event produced when a contact between a pair of shapes is updated, giving the opportunity to modify the contact manifold before it is solved. The event is passed to the callback by reference so the manifold can be changed, and calling Cancel cancels the contact.
| Property | Description |
|---|---|
| manifold | The contact manifold that is about to be solved. This can be modified in place, and because the event itself is passed to the callback by reference, the solver uses whatever it is left as this step. |
| physicsWorld | The physics world both shapes are within. |
| shapeA | One of the shapes involved in the event. |
| shapeB | The other shape involved in the event. |
| Method | Description |
|---|---|
| Cancel | Cancels the contact so it is not solved this step. The manifold is left with no points. |