Table of Contents

Struct Contact2OneBodyPrestepData

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

Fields

Contact0

public ConvexContactWide Contact0

Field Value

ConvexContactWide

Contact1

public ConvexContactWide Contact1

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 Contact2OneBodyPrestepData, int)

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

Parameters

prestep Contact2OneBodyPrestepData
index int

Returns

ConvexContactWide

GetMaterialProperties(ref Contact2OneBodyPrestepData)

public static ref MaterialPropertiesWide GetMaterialProperties(ref Contact2OneBodyPrestepData prestep)

Parameters

prestep Contact2OneBodyPrestepData

Returns

MaterialPropertiesWide

GetNormal(ref Contact2OneBodyPrestepData)

public static ref Vector3Wide GetNormal(ref Contact2OneBodyPrestepData prestep)

Parameters

prestep Contact2OneBodyPrestepData

Returns

Vector3Wide