ContactEventHeader#

Fully qualified name: isaacsim::physics::registration::ContactEventHeader

struct ContactEventHeader#

Describes one contact-pair event and its associated data ranges.

The offset and count members identify slices in the contact and friction-anchor buffers supplied to OnContactReportEventFunction.

Public Members

ContactEventType type#

The contact event type.

int64_t stageId#

The identifier of the simulated USD stage.

PathToken actor0#

The encoded USD path of the first actor in the contact pair.

PathToken actor1#

The encoded USD path of the second actor in the contact pair.

PathToken collider0#

The encoded USD path of the first collider in the contact pair.

PathToken collider1#

The encoded USD path of the second collider in the contact pair.

uint32_t contactDataOffset#

The starting index of this pair’s data in the contact-data buffer.

uint32_t contactDataCount#

The number of contact-data entries associated with this pair.

uint32_t frictionAnchorsDataOffset#

The starting index of this pair’s data in the friction-anchor buffer.

uint32_t frictionAnchorDataCount#

The number of friction-anchor entries associated with this pair.

uint32_t prototypeIndex0#

The first collider’s point-instancer prototype index.

A value of 0xFFFFFFFF indicates that the collider is not part of a point instancer.

uint32_t prototypeIndex1#

The second collider’s point-instancer prototype index.

A value of 0xFFFFFFFF indicates that the collider is not part of a point instancer.