GetContact
7/14/25Less than 1 minute
Collision.GetContact(number index)
Gets the contact point at the specified index.
Parameters:
| Name | Type | Description |
|---|---|---|
| index | number | The index of the contact to retrieve. |
Returns:
| type | Description |
|---|---|
| ContactPoint | The contact at the specified index. |
Usage
---@type Collision
local collision;
---@type number
local index;
local val0 = collision.GetContact(index)
