function Contact(bodyA, bodyB, collisionData) {
    this.bodyA = bodyA;
    this.bodyB = bodyB;
    this.data = collisionData;

    this.normalImpulse = 0;
    this.tangentImpulse1 = 0;
    this.tangentImpulse2 = 0;

    this.impulse = new Vec3();
    this.angImpulseA = new Vec3();
    this.angImpulseB = new Vec3();

    if (collisionData) this.init();
}
Class to maintain collision data between two bodies.
The end of the resolve chain, and where the actual impulses are applied.

@class Contact
@param {Body} bodyA The first body.
@param {Body} bodyB The second body.
@param {CollisionData} collisionData The data for the collision.