Joint:getColliders

Returns the Colliders the Joint is attached to. All Joints are attached to two colliders.

colliderA, colliderB = Joint:getColliders()

Arguments

None

Returns

NameTypeDescription
colliderAColliderThe first Collider.
colliderBColliderThe second Collider.

See also