GearJoint:getJoints

Available since LÖVE 0.9.2
This function is not supported in earlier versions.

Get the Joints connected by this GearJoint.

Function

Synopsis

joint1, joint2 = GearJoint:getJoints( )

Arguments

None.

Returns

Joint joint1
The first connected Joint.
Joint joint2
The second connected Joint.

See Also

Other Languages