public sealed class DefaultMoveScorerThe shipped scorer: matched preferences, numeric proximity, and a repeat penalty.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
Numeric error is a penalty rather than a filter, and that is a deliberate reading of the design. Dropping every candidate that cannot reach the wanted speed empties the set when a character sprints faster than any authored clip, and an empty selection has no good answer. Scoring the shortfall instead means the fastest move wins and plays at the top of its rate range — the closest thing the set has, which is what the whole approach is for.
The reachable interval is what the error is measured to, not the authored speed. A walk that admits ±15 % and a run that admits none are being asked a different question, and measuring both from where they happen to be authored would make the walk look worse than it is at every speed it can actually cover.
Fields and properties (1)
public static DefaultMoveScorer SharedThe one every selector uses unless told otherwise.
Methods (1)
public float Score(in MoveCandidate candidate, in MoveQuery query)Scores a candidate that has already passed the hard filter.
Used by (7)
- MoveSelectionBenchmarksVixen.Benchmarks.Animation
- AuthoringTestsVixen.Animation.Tests
- MoveCoverageVixen.Animation
- MoveExplanationsVixen.Animation
- MoveSetMotionVixen.Animation
- MoveSetTestsVixen.Animation.Tests
- SeamTestsVixen.Animation.Tests