GetReactionTorque(float)
Gets the reaction torque of the joint given the specified timeStep.
Read time 1 minuteLast updated 8 days ago
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.Physics2DModule
public float GetReactionTorque(float timeStep)
Parameters
The time to calculate the reaction torque for.
Returns
Type | Description |
|---|---|
| float | The reaction torque of the joint in the specified |
Remarks
When a joint tries to constrain a Rigidbody2D it may need to apply torque to do so. This is known as the reaction torque.
Additional Resources: Joint2D.reactionTorque, Joint2D.breakTorque.