Struct OverlapInfo
- Namespace
- Stride.BepuPhysics
- Assembly
- Stride.BepuPhysics.dll
Information about an overlap test
public readonly record struct OverlapInfo : IEquatable<OverlapInfo>
- Implements
- Inherited Members
Constructors
OverlapInfo(CollidableComponent, Vector3, float)
Information about an overlap test
public OverlapInfo(CollidableComponent Collidable, Vector3 PenetrationDirection, float PenetrationLength)
Parameters
CollidableCollidableComponentThe object the test shape overlaps with
PenetrationDirectionVector3Direction the test shape as to move towards for it to exit out of this particular manifold
PenetrationLengthfloatDistance the test shape as to move towards for it to exit out of this particular manifold
Properties
Collidable
The object the test shape overlaps with
public CollidableComponent Collidable { get; init; }
Property Value
PenetrationDirection
Direction the test shape as to move towards for it to exit out of this particular manifold
public Vector3 PenetrationDirection { get; init; }
Property Value
PenetrationLength
Distance the test shape as to move towards for it to exit out of this particular manifold
public float PenetrationLength { get; init; }