Contact

Edit

TODO

Methods

Contact:getCollidersGet the two Colliders that are in contact.
Contact:getFrictionGet the friction of the Contact.
Contact:getNormalGet the normal vector of the Contact.
Contact:getOverlapGet the amount of overlap between the colliders.
Contact:getPointsGet the contact points of the Contact.
Contact:getRestitutionGet the bounciness of the Contact.
Contact:getShapesGet the two Shapes that are in contact.
Contact:getSurfaceVelocityGet the surface velocity of the Contact.
Contact:isEnabledCheck if the Contact is enabled.
Contact:setEnabledEnable or disable the Contact.
Contact:setFrictionSet the friction of the Contact.
Contact:setRestitutionSet the bounciness of the Contact.
Contact:setSurfaceVelocitySet the surface velocity of the Contact.

See also