Table of Contents

Struct Contact3OneBodyPrestepData

Namespace
BepuPhysics.Constraints.Contact
Assembly
BepuPhysics.dll
public struct Contact3OneBodyPrestepData : IConvexContactPrestep<Contact3OneBodyPrestepData>, IContactPrestep<Contact3OneBodyPrestepData>
Implements
Inherited Members

Fields

Contact0

public ConvexContactWide Contact0

Field Value

ConvexContactWide

Contact1

public ConvexContactWide Contact1

Field Value

ConvexContactWide

Contact2

public ConvexContactWide Contact2

Field Value

ConvexContactWide

MaterialProperties

public MaterialPropertiesWide MaterialProperties

Field Value

MaterialPropertiesWide

Normal

public Vector3Wide Normal

Field Value

Vector3Wide

Properties

BodyCount

public static int BodyCount { get; }

Property Value

int

ContactCount

public static int ContactCount { get; }

Property Value

int

Methods

GetContact(ref Contact3OneBodyPrestepData, int)

public static ref ConvexContactWide GetContact(ref Contact3OneBodyPrestepData prestep, int index)

Parameters

prestep Contact3OneBodyPrestepData
index int

Returns

ConvexContactWide

GetMaterialProperties(ref Contact3OneBodyPrestepData)

public static ref MaterialPropertiesWide GetMaterialProperties(ref Contact3OneBodyPrestepData prestep)

Parameters

prestep Contact3OneBodyPrestepData

Returns

MaterialPropertiesWide

GetNormal(ref Contact3OneBodyPrestepData)

public static ref Vector3Wide GetNormal(ref Contact3OneBodyPrestepData prestep)

Parameters

prestep Contact3OneBodyPrestepData

Returns

Vector3Wide