Version: 2019.2
public ContactPoint2D GetContact (int index);

Parameters

indexThe index of the contact to retrieve.

Returns

ContactPoint2D The contact at the specified index.

Description

Gets the contact point at the specified index.

You can retrieve individual contacts for this collision by index. You can use contactCount to determine how many contacts are available.

See Also: contactCount and GetContacts.