ball.contactnum.all

Syntax

ir = ball.contactnum.all(bp<,i>)

Get number of contacts around a ball. Inactive contacts are included. The optional argument enables filtering by contact type.

Returns:

ir - contact number

Arguments:

bp - ball pointer

i - optional unique contact type identification integer