Table of Contents

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

Collidable CollidableComponent

The object the test shape overlaps with

PenetrationDirection Vector3

Direction the test shape as to move towards for it to exit out of this particular manifold

PenetrationLength float

Distance 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

CollidableComponent

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

Vector3

PenetrationLength

Distance the test shape as to move towards for it to exit out of this particular manifold

public float PenetrationLength { get; init; }

Property Value

float