Contact

Contacts are objects created to manage collisions in worlds.

Contents

Functions

Contact:getFriction Get the friction between two shapes that are in contact.
Contact:getNormal Get the normal vector between two shapes that are in contact.
Contact:getPosition Get the location of the contact point between two shapes.
Contact:getRestitution Get the restitution between two shapes that are in contact.
Contact:getSeparation Get the separation between two shapes that are in contact.
Contact:getVelocity Get the linear impact velocity of a contact.
Object:type Gets the type of the object as a string.
Object:typeOf Checks whether an object is of a certain type.

Supertypes

Object

See Also


Other Languages

Personal tools