From f0572c735a52d1b933111641984b14e642fbdd7f Mon Sep 17 00:00:00 2001 From: Taylor Howell Date: Mon, 15 Dec 2025 03:36:19 -0800 Subject: [PATCH] MuJoCo Warp documentation: Collision sensors. PiperOrigin-RevId: 844695759 Change-Id: I98cc6f127527a8d05b02cf5b06038bba2d03fae0 --- doc/mjwarp/index.rst | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/doc/mjwarp/index.rst b/doc/mjwarp/index.rst index ca4d6bae..8a3cc9f3 100644 --- a/doc/mjwarp/index.rst +++ b/doc/mjwarp/index.rst @@ -453,6 +453,15 @@ Orientations are represented as unit quaternions and follow :ref:`MuJoCo's conve No. Updates for this feature are tracked in this `GitHub issue `__. +**Why are contacts reported when there are no collisions?** + +1 contact will be reported for each unique geom pair that contributes to any collision sensor, even if this geom pair is +not in collision. Unlike MuJoCo or MJX where :ref:`collision sensors` make separate calls to +collision routines while computing sensor data, MJWarp computes and stores the data for these sensors in contacts while +running its main collision pipeline. + +:ref:`Contact sensors` will report the correct information for contacts affecting the physics. + Compilation -----------