Table of Contents

Struct b3ContactHitEvent

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

Raised when two shapes collide faster than the hit event threshold. Mirror of b3ContactHitEvent.

public struct b3ContactHitEvent

Inherited Members

Fields

approachSpeed

The approach speed. Always positive, usually in metres per second.

contactId

The contact. May have been destroyed.

normal

The unit normal pointing from shape A to shape B.

point

The point where the shapes hit, midway between the two surfaces.

shapeIdA

The first shape.

shapeIdB

The second shape.

userMaterialIdA

The user material identifier on shape A.

userMaterialIdB

The user material identifier on shape B.