Return the force (in Newtons) on body 2 required to satisfy the joint constraint in world-space * @return The current force (in Newtons) applied on body 2 */
| 76 | * @return The current force (in Newtons) applied on body 2 |
| 77 | */ |
| 78 | Vector3 FixedJoint::getReactionForce(decimal timeStep) const { |
| 79 | assert(timeStep > MACHINE_EPSILON); |
| 80 | return mWorld.mFixedJointsComponents.getImpulseTranslation(mEntity) / timeStep; |
| 81 | } |
| 82 | |
| 83 | // Return the torque (in Newtons * meters) on body 2 required to satisfy the joint constraint in world-space |
| 84 | /** |
nothing calls this directly
no outgoing calls
no test coverage detected