Show:

Matter.Contact

The Matter.Contact module contains methods for creating and manipulating collision contacts.

Methods

Matter.Contact.create

(vertex)
Contact

Creates a new contact.

Parameters

  • vertex Vertex

Returns

Contact

A new contact

Matter.Contact.id

(vertex)
String

Generates a contact id.

Parameters

  • vertex Vertex

Returns

String

Unique contactID

Item Index

Methods

0.11.0