Table of Contents

Struct b3LocalManifold

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

The output of the low-level b3Collide* functions, in shape A's frame. Mirror of b3LocalManifold.

public struct b3LocalManifold

Inherited Members

Remarks

Unlike Box3D.Native.b3Manifold, the point array is supplied by the caller, so the point count is bounded only by the buffer capacity passed alongside it.

Fields

feature

The triangle feature involved in the contact.

i1

The index of the triangle's first vertex.

i2

The index of the triangle's second vertex.

i3

The index of the triangle's third vertex.

normal

The contact normal in frame A.

pointCount

The number of contact points written.

points

The contact points, written into the caller's buffer.

squaredDistance

The squared distance of a sphere from a triangle, used to reduce ghost collisions.

triangleFlags

The triangle adjacency flags, as Box3D.Native.b3MeshEdgeFlags.

triangleIndex

The index of the triangle involved.

triangleNormal

The triangle normal, when a triangle is involved.