Vixen
02b45cc4
csharp
public readonly record struct MoveTargets

What a body wants to be doing, as numbers a move can be measured against.

No guide page documents this yet — the page shows what the code says about itself.

Remarks

Filled by an IGaitModel from the intent, never by the selector. Which numbers matter is a property of the body — a quadruped and a biped disagree about turning and about nothing else here — and the selection pass is the same for both.

Fields and properties (4)

  • public float Speed

    How fast, in metres a second.

  • public float TurnRate

    How fast it wants to turn, in radians a second. Signed; positive is left.

  • public float SpeedWeight

    How much a metre a second of speed error counts against a candidate.

  • public float TurnWeight

    How much a radian a second of turn error counts.

Methods (1)

  • public MoveTargets()

    Creates targets with the default weights.

Used by (15)

  • MoveSelectionBenchmarksVixen.Benchmarks.Animation
  • AuthoringTestsVixen.Animation.Tests
  • BipedGaitModelVixen.Animation
  • DefaultMoveScorerVixen.Animation
  • IGaitModelVixen.Animation
  • MoveCoverageVixen.Animation
  • MoveExplanationsVixen.Animation
  • MoveQueryVixen.Animation
  • MoveSetTestsVixen.Animation.Tests
  • MoveTransitionTestsVixen.Animation.Tests
  • QueryMoveSelectorVixen.Animation
  • SeamTestsVixen.Animation.Tests
  • WheeledTestGaitModelVixen.Animation.Tests
  • MoveQueryTextVixen.Editor.AssetEditors
  • MoveSetTestsVixen.Editor.AssetEditors.Tests