Vixen
02b45cc4
csharp
public readonly record struct HarnessThresholds

How bad a run is allowed to get before it counts as a failure.

Read the guide page for this →

Remarks

⚠ Every one of them off by default, and that is deliberate. A threshold nobody chose is a build that fails for a reason nobody agreed to; a project sets the ones it means and leaves the rest, and Judge only looks at the ones that were set.

Fields and properties (6)

  • public float Residual

    How far a goal may miss by, in metres. Zero means the run is not judged on it.

  • public float Penetration

    How far into a surface a contact may sink, in metres. Zero means unjudged.

  • public float Jerk

    How hard an effector may change velocity, in metres a second squared. Zero means unjudged.

  • public bool Reach

    Whether a chain running out of reach is a failure rather than a note.

  • public bool Limits

    Whether a joint hitting the end of its range of motion is a failure.

  • public bool Any

    Whether anything at all is judged.

Used by (9)

  • HarnessCellVixen.Animation
  • HarnessPlanVixen.Animation
  • HarnessTestsVixen.Animation.Tests
  • HarnessThresholdRecordVixen.Animation
  • JointLimitTestsVixen.Animation.Tests
  • VariationReportVixen.Animation
  • HarnessPlanImporterVixen.Editor.Assets
  • HarnessPlanImporterTestsVixen.Editor.Assets.Tests
  • HarnessViewTestsVixen.Editor.AssetEditors.Tests