Box2D.Dynamics.Joints.DistanceJoint.GetReactionForce C# (CSharp) Method

GetReactionForce() public method

Get the reaction force given the inverse time step. Unit is N.
public GetReactionForce ( float inv_dt, Vec2 argOut ) : void
inv_dt float
argOut Box2D.Common.Vec2
return void
        public override void GetReactionForce(float inv_dt, Vec2 argOut)
        {
            argOut.X = Impulse * U.X * inv_dt;
            argOut.Y = Impulse * U.Y * inv_dt;
        }