launchCountRawContactsPerSensor#
Fully qualified name: isaacsim::physics::newton::tensors::launchCountRawContactsPerSensor
- bool isaacsim::physics::newton::tensors::launchCountRawContactsPerSensor(
- const int *contactCount,
- const int *shape0,
- const int *shape1,
- const int *shapeBody,
- const int *bodySensorMap,
- int bodySensorMapSize,
- int worldBodyIdx,
- uint32_t *counts,
- int rigidContactMax,
- void *stream = nullptr,
Count raw contacts per sensor (ignoring filters).
- Parameters:
contactCount – Device pointer to the physics contact count.
shape0 – Device array, contact pair shape A indices.
shape1 – Device array, contact pair shape B indices.
shapeBody – Device array mapping shape index to body index.
bodySensorMap – Device array mapping body index to sensor index.
bodySensorMapSize – Length of
bodySensorMap.worldBodyIdx – Sentinel body index representing the static world.
counts – Device output counts, length
numSensors.rigidContactMax – Capacity of the contact arrays.
stream – CUDA stream.
- Returns:
trueif the launch succeeded.