Skip to content

JointComponent.GetReactionForce() Method

Definition

Namespace: Brine2D.ECS.Components.Joints

Returns the constraint force exerted by this joint during the last step \(simulation units\). Returns System.Numerics.Vector2.Zero if the joint is not live. Useful for detecting overloaded joints or triggering break logic.

C#
public System.Numerics.Vector2 GetReactionForce();

Returns

System.Numerics.Vector2