Added an optional 'collideconnected' boolean argument to love.physics.newMotorJoint (resolves issue #1130).

This commit is contained in:
Alex Szpakowski
2016-02-02 08:38:07 -04:00
parent 53795d40a6
commit ab4cfb4a35
5 changed files with 8 additions and 6 deletions
+1 -1
View File
@@ -257,7 +257,7 @@ public:
* and body2.
**/
MotorJoint *newMotorJoint(Body *body1, Body *body2);
MotorJoint *newMotorJoint(Body *body1, Body *body2, float correctionFactor);
MotorJoint *newMotorJoint(Body *body1, Body *body2, float correctionFactor, bool collideConnected);
/**
* Creates a new Fixture attaching shape to body.