csharp
public readonly record struct ShapeOverlapA 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 BodyWhat was found.
public Vector3 PositionThe deepest point of the overlap, on the queried shape.
public Vector3 NormalThe direction the query shape would have to move to stop overlapping, normalised.
public float DepthHow 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