csharp
public sealed class DistanceGoalTwo joints should be a certain distance apart.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
The one goal with no frame: both ends are joints on the same body. Two hands on a rifle, a hand that must not leave a rail, a chin that must clear a shoulder.
Fields and properties (4)
public override GoalKind KindWhat it asks for.
public required int OtherThe other joint.
public float MinThe closest they may be, in metres.
public float MaxThe furthest they may be, in metres.
Methods (1)
public float Excess(float separation)How far outside the interval a separation is, signed.
Used by (3)
- ConstraintTagRecordVixen.Animation
- ConstraintTestsVixen.Animation.Tests
- DefaultConstraintArbiterVixen.Animation