Reset the limits
| 152 | |
| 153 | // Reset the limits |
| 154 | void HingeJoint::resetLimits() { |
| 155 | |
| 156 | // Reset the accumulated impulses for the limits |
| 157 | mWorld.mHingeJointsComponents.setImpulseLowerLimit(mEntity, decimal(0.0)); |
| 158 | mWorld.mHingeJointsComponents.setImpulseUpperLimit(mEntity, decimal(0.0)); |
| 159 | |
| 160 | // Wake up the two bodies of the joint |
| 161 | awakeBodies(); |
| 162 | } |
| 163 | |
| 164 | // Set the motor speed |
| 165 | /** |
nothing calls this directly
no test coverage detected