MotorJoint:getLinearOffset
Gets the target linear offset between the two Bodies the Joint is attached to.
x, y = MotorJoint:getLinearOffset()
x number The x component of the target linear offset, relative to the first Body.
y number The y component of the target linear offset, relative to the first Body.