Return the intensity of the current torque applied for the joint motor * @param timeStep The current time step (in seconds) * @return The intensity of the current torque (in Newtons) of the joint motor */
| 249 | * @return The intensity of the current torque (in Newtons) of the joint motor |
| 250 | */ |
| 251 | decimal HingeJoint::getMotorTorque(decimal timeStep) const { |
| 252 | return mWorld.mHingeJointsComponents.getImpulseMotor(mEntity) / timeStep; |
| 253 | } |
| 254 | |
| 255 | // Return the current hinge angle |
| 256 | /** |
nothing calls this directly
no test coverage detected