Skip to main content

Collision.GetContact(number index)

Gets the contact point at the specified index.

Parameters:

NameTypeDescription
indexnumberThe index of the contact to retrieve.

Returns:

typeDescription
ContactPointThe contact at the specified index.

Usage

---@type Collision
local collision;

---@type number
local index;


local val0 = collision.GetContact(index)