Vixen
02b45cc4
csharp
public readonly record struct ShapeOverlap

A body a shape query found overlapping.

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

Fields and properties (4)

  • public BodyHandle Body

    What was found.

  • public Vector3 Position

    The deepest point of the overlap, on the queried shape.

  • public Vector3 Normal

    The direction the query shape would have to move to stop overlapping, normalised.

  • public float Depth

    How far it would have to move, in metres.

Methods (1)

  • public ShapeOverlap(BodyHandle Body, Vector3 Position, Vector3 Normal, float Depth)

    A body a shape query found overlapping.

Used by (2)

  • PhysicsQueryTestsVixen.Physics.Tests
  • PhysicsWorldVixen.Physics