Available since: Gideros 2011.6
Creates and returns a gear joint definition table.
(Please refer to b2.World:createJoint function for more information about all the information needed to create a gear joint).
(table) = b2.createGearJointDef(bodyA,bodyB,joint1,joint2,ratio)
'bodyA: (b2.Body) the first attached body '
'bodyB: (b2.Body) the second attached body '
'joint1: (b2.Joint) the first revolute/prismatic joint attached to the gear joint '
'joint2: (b2.Joint) the second revolute/prismatic joint attached to the gear joint '
'ratio: (number, default = 1) the gear ratio '
Returns (table) A new gear joint definition table