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
@@ -41,7 +41,7 @@ class MotorJoint : public Joint
public:
MotorJoint(Body *body1, Body* body2);
MotorJoint(Body *body1, Body* body2, float correctionFactor);
MotorJoint(Body *body1, Body* body2, float correctionFactor, bool collideConnected);
virtual ~MotorJoint();
/// Set/get the target linear offset, in frame A, in meters.