Reset the limits
| 194 | |
| 195 | // Reset the limits |
| 196 | void SliderJoint::resetLimits() { |
| 197 | |
| 198 | // Reset the accumulated impulses for the limits |
| 199 | mWorld.mSliderJointsComponents.setImpulseLowerLimit(mEntity, decimal(0.0)); |
| 200 | mWorld.mSliderJointsComponents.setImpulseUpperLimit(mEntity, decimal(0.0)); |
| 201 | |
| 202 | // Wake up the two bodies of the joint |
| 203 | awakeBodies(); |
| 204 | } |
| 205 | |
| 206 | // Set the motor speed |
| 207 | /** |
nothing calls this directly
no test coverage detected