Vixen
02b45cc4
csharp
public readonly record struct LookAtJoint

One joint of a look-at chain, and how much of the turn it takes.

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

Remarks

The weights are what make a look-at read as a body rather than as a head on a stick. A chest at 0.2, a neck at 0.4 and a head at 0.8 turn together, each contributing what it can; the head alone at 1.0 gives the owl.

Fields and properties (3)

  • public int Joint

    The joint's index.

  • public float Weight

    How much of the way to the target this joint turns, in [0, 1].

  • public float MaxAngle

    How far it may turn from where the animation put it, in radians. Zero means unlimited.

Methods (1)

  • public LookAtJoint(int Joint, float Weight = 1, float MaxAngle = 0)

    One joint of a look-at chain, and how much of the turn it takes.

Used by (1)

  • LookAtIkVixen.Animation