Table of Contents

Struct b3ContactData

Namespace
Box3D.Native
Assembly
Box3D.NET.Native.dll

The contact data between two shapes. Mirror of b3ContactData.

public struct b3ContactData

Inherited Members

Remarks

By convention the manifold normal points from shape A to shape B.

Fields

contactId

The contact. May be retained across steps, but validate it with b3Contact_IsValid before each use.

manifoldCount

The number of manifolds. Mesh and height field collision can produce several.

manifolds

The contact manifolds. Points into internal memory; do not retain.

shapeIdA

The first shape.

shapeIdB

The second shape.