Table of Contents

Struct JointSolveMetrics2D

Namespace
Gravitas.Constraints
Assembly
Gravitas.dll

Deterministic metrics captured from the most recent pure 2D joint solver pass.

public readonly struct JointSolveMetrics2D
Inherited Members

Properties

AccumulatedImpulseMagnitude

Gets the total absolute cached impulse magnitude after the pass.

public Fixed64 AccumulatedImpulseMagnitude { get; }

Property Value

Fixed64

AngularErrorMagnitude

Gets the scalar angular frame error magnitude before the pass.

public Fixed64 AngularErrorMagnitude { get; }

Property Value

Fixed64

ClampedRowCount

Gets the number of rows whose accumulated impulse hit a row bound.

public int ClampedRowCount { get; }

Property Value

int

IncrementalImpulseMagnitude

Gets the total absolute incremental impulse emitted during the pass.

public Fixed64 IncrementalImpulseMagnitude { get; }

Property Value

Fixed64

LimitErrorMagnitude

Gets the total scalar limit violation magnitude emitted by limit rows.

public Fixed64 LimitErrorMagnitude { get; }

Property Value

Fixed64

LinearAnchorErrorMagnitude

Gets the world-space distance between the joint anchors before the pass.

public Fixed64 LinearAnchorErrorMagnitude { get; }

Property Value

Fixed64

MotorErrorMagnitude

Gets the scalar motor target error magnitude before the pass.

public Fixed64 MotorErrorMagnitude { get; }

Property Value

Fixed64

MotorImpulseMagnitude

Gets the absolute incremental impulse emitted by motor rows.

public Fixed64 MotorImpulseMagnitude { get; }

Property Value

Fixed64

PreparedRowCount

Gets the number of solver rows prepared for the joint.

public int PreparedRowCount { get; }

Property Value

int