mirror of
https://github.com/love2d/love.git
synced 2026-08-17 11:00:31 +02:00
Added an optional 'collideconnected' boolean argument to love.physics.newMotorJoint (resolves issue #1130).
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user