Body.getJoints

Returns a table of all joints that are part of a body.

Kind: Function

Environments: Game

Game

body:getJoints(  )

Open the full Game reference

This will not return joints in neighbouring bodies.

Parameters:

Name Type Description
body Body The body.

Returns:

Type Description
table The table of joints in a body. {Joint, ...}