love.physics.newWheelJoint
Creates a wheel joint.
joint = love.physics.newWheelJoint( body1, body2, x, y, ax, ay, collideConnected )
body1 Body The first body.
body2 Body The second body.
x number The x position of the anchor point.
y number The y position of the anchor point.
ax number The x position of the axis unit vector.
ay number The y position of the axis unit vector.
collideConnected (false) boolean Specifies whether the two bodies should collide with each other.
joint WheelJoint The new WheelJoint.
joint = love.physics.newWheelJoint( body1, body2, x1, y1, x2, y2, ax, ay, collideConnected )
body1 Body The first body.
body2 Body The second body.
x1 number The x position of the first anchor point.
y1 number The y position of the first anchor point.
x2 number The x position of the second anchor point.
y2 number The y position of the second anchor point.
ax number The x position of the axis unit vector.
ay number The y position of the axis unit vector.
collideConnected (false) boolean Specifies whether the two bodies should collide with each other.
joint WheelJoint The new WheelJoint.