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