Version: 2023.2
言語: 日本語
public ContactPoint GetContact (int index);

パラメーター

index The index of the contact to retrieve.

戻り値

ContactPoint 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.

Additional resources: contactCount and GetContacts.