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