Struct HitInfoStack
- Namespace
- Stride.BepuPhysics
- Assembly
- Stride.BepuPhysics.dll
Structure used through the different simulation test methods in BepuSimulation
public readonly record struct HitInfoStack : IEquatable<HitInfoStack>- Implements
- Inherited Members
Constructors
HitInfoStack(CollidableStack, Vector3, Vector3, float, int)
Structure used through the different simulation test methods in BepuSimulation
public HitInfoStack(CollidableStack Collidable, Vector3 Point, Vector3 Normal, float Distance, int ChildIndex)Parameters
- CollidableCollidableStack
- PointVector3
- NormalVector3
- Distancefloat
- ChildIndexint
Properties
ChildIndex
public int ChildIndex { get; init; }Property Value
Collidable
public CollidableStack Collidable { get; init; }Property Value
Distance
public float Distance { get; init; }Property Value
Normal
public Vector3 Normal { get; init; }Property Value
Point
public Vector3 Point { get; init; }