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 */
| 141 | * @return The current force (in Newtons) applied on body 2 |
| 142 | */ |
| 143 | Vector3 BallAndSocketJoint::getReactionForce(decimal timeStep) const { |
| 144 | assert(timeStep > MACHINE_EPSILON); |
| 145 | return mWorld.mBallAndSocketJointsComponents.getImpulse(mEntity) / timeStep; |
| 146 | } |
| 147 | |
| 148 | // Return the torque (in Newtons * meters) on body 2 required to satisfy the joint constraint in world-space |
| 149 | /** |
nothing calls this directly
no outgoing calls
no test coverage detected