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

© 2006–2020 LÖVE Development Team
Licensed under the GNU Free Documentation License, Version 1.3.
https://love2d.org/wiki/GearJoint:getJoints