Return the torque (in Newtons * meters) on body 2 required to satisfy the joint constraint in world-space * @return The current torque (in Newtons * meters) applied on body 2 */
| 85 | * @return The current torque (in Newtons * meters) applied on body 2 |
| 86 | */ |
| 87 | Vector3 FixedJoint::getReactionTorque(decimal timeStep) const { |
| 88 | assert(timeStep > MACHINE_EPSILON); |
| 89 | return mWorld.mFixedJointsComponents.getImpulseRotation(mEntity) / timeStep; |
| 90 | } |
| 91 | |
| 92 | // Return a string representation |
| 93 | std::string FixedJoint::to_string() const { |
nothing calls this directly
no outgoing calls
no test coverage detected