Apply gel hinge joint limits when appropriate.
This commit is contained in:
@@ -425,7 +425,7 @@ float b2RevoluteJoint::GetUpperLimit() const
|
||||
void b2RevoluteJoint::SetLimits(float lower, float upper)
|
||||
{
|
||||
b2Assert(lower <= upper);
|
||||
|
||||
|
||||
if (lower != m_lowerAngle || upper != m_upperAngle)
|
||||
{
|
||||
m_bodyA->SetAwake(true);
|
||||
|
||||
Reference in New Issue
Block a user