mirror of
https://github.com/love2d/love.git
synced 2026-08-16 08:11:02 +02:00
Add PrismaticJoint:getMaxMotorForce
--HG-- branch : box2d-update
This commit is contained in:
@@ -90,6 +90,11 @@ namespace box2d
|
||||
{
|
||||
return Physics::scaleUp(joint->GetMotorForce(inv_dt));
|
||||
}
|
||||
|
||||
float PrismaticJoint::getMaxMotorForce() const
|
||||
{
|
||||
return Physics::scaleUp(joint->GetMaxMotorForce());
|
||||
}
|
||||
|
||||
void PrismaticJoint::enableLimit(bool limit)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user