Version: 2019.3
public ContactPoint2D GetContact (int index);

パラメーター

indexThe index of the contact to retrieve.

戻り値

ContactPoint2D The contact at the specified index.

説明

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.