This command will return the integer handle of the body attached by the specified JointNode. That is, the body attached to the one specified in the b2GetBodyFirstJointNode command. The parameter should be the integer handle of the Joint Node, which was previously returned by b2GetBodyFirstJointNode, b2GetNextJointNode, or b2GetPreviousJointNode.
Syntax
Return as Integer = b2GetJointNodeBody(ID as Integer)