Shape.getJoints

Returns a table of all joints that are attached to the shape.

Kind: Function

Environments: Game

Game

shape:getJoints( onlyChildJoints )

Open the full Game reference

Will return all attached joints when onlyChildJoints is set to false.

Parameters:

Name Type Description
shape Shape The shape.
onlyChildJoints (optional) boolean Filters what joints to return. Defaults to true (Optional)

Returns:

Type Description
table The table of joints attached to the shape. {Joint, ..}