Contact Data
data class ContactData(val shapeA: Shape, val shapeB: Shape, val normal: Vec2, val points: List<Vec2>, val normalImpulses: List<Float>)
Contact data for a shape or body.
Parameters
shape A
The first shape in the contact
shape B
The second shape in the contact
normal
The contact normal in world coordinates, pointing from shapeA to shapeB
points
The contact points (up to 2 for a manifold)
normal Impulses
The normal impulses applied at each contact point