Vixen
02b45cc4
csharp
public readonly record struct GroundContact

What the ground is doing under one foot.

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

Remarks

Supplied, not queried. This assembly does not reference Vixen.Physics and is not going to: a raycast is a physics-world question, it has to be asked on the physics thread's terms, and a character on a moving platform or a networked client wants to ask it in a way only the game knows. What animation owns is what to do with the answer.

Fields and properties (3)

  • public bool Hit

    Whether anything was found. A foot over a hole is left where the animation put it.

  • public Vector3 Position

    Where the ground is, in model space.

  • public Vector3 Normal

    Which way it faces, in model space.

Methods (1)

  • public GroundContact(bool Hit, Vector3 Position, Vector3 Normal)

    What the ground is doing under one foot.

Used by (3)

  • ConstraintTestsVixen.Animation.Tests
  • FootPlacementVixen.Animation
  • FootPlacementPresetVixen.Animation