Fix body category check for mocap body descendants in visualization.

PiperOrigin-RevId: 856179240
Change-Id: I29f4758fee0ff3b16d0b9f452c28e640b5558993
This commit is contained in:
Yuval Tassa
2026-01-14 06:05:55 -08:00
committed by Copybara-Service
parent d387578783
commit f3ad0eff2b
2 changed files with 15 additions and 2 deletions
+13
View File
@@ -0,0 +1,13 @@
<mujoco>
<worldbody>
<light pos="0 0 2"/>
<geom type="plane" size="1 1 0.1"/>
<body mocap="true">
<geom size=".1"/>
<body pos="0 0 .05">
<geom size=".1" pos="0 0 .1"/>
</body>
</body>
</worldbody>
</mujoco>