Table of Contents

Struct Contact1OneBodyPrestepData

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

Fields

Contact0

public ConvexContactWide Contact0

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

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

Parameters

prestep Contact1OneBodyPrestepData
index int

Returns

ConvexContactWide

GetMaterialProperties(ref Contact1OneBodyPrestepData)

public static ref MaterialPropertiesWide GetMaterialProperties(ref Contact1OneBodyPrestepData prestep)

Parameters

prestep Contact1OneBodyPrestepData

Returns

MaterialPropertiesWide

GetNormal(ref Contact1OneBodyPrestepData)

public static ref Vector3Wide GetNormal(ref Contact1OneBodyPrestepData prestep)

Parameters

prestep Contact1OneBodyPrestepData

Returns

Vector3Wide