Contact
EditTODO
Methods
Contact:getColliders | Get the two Colliders that are in contact. |
Contact:getFriction | Get the friction of the Contact. |
Contact:getNormal | Get the normal vector of the Contact. |
Contact:getOverlap | Get the amount of overlap between the colliders. |
Contact:getPoints | Get the contact points of the Contact. |
Contact:getRestitution | Get the bounciness of the Contact. |
Contact:getShapes | Get the two Shapes that are in contact. |
Contact:getSurfaceVelocity | Get the surface velocity of the Contact. |
Contact:isEnabled | Check if the Contact is enabled. |
Contact:setEnabled | Enable or disable the Contact. |
Contact:setFriction | Set the friction of the Contact. |
Contact:setRestitution | Set the bounciness of the Contact. |
Contact:setSurfaceVelocity | Set the surface velocity of the Contact. |