Support edge contacts with multiccd in nativeccd.

PiperOrigin-RevId: 730489114
Change-Id: I02847d84bbc15a1526391d5e1b7109ab83ea4a59
This commit is contained in:
Kyle Bayes
2025-02-24 09:47:50 -08:00
committed by Copybara-Service
parent a6f1dc5e9e
commit 024616345d
7 changed files with 861 additions and 49 deletions
+24
View File
@@ -0,0 +1,24 @@
<mujoco>
<option>
<flag multiccd="enable"/>
</option>
<asset>
<texture type="skybox" builtin="gradient" width="512" height="512"
rgb1="1 1 1" rgb2="1 1 1"/>
<mesh name="domino" vertex="-1 -1 -1 1 -1 -1 1 1 -1 1 1 1 1 -1 1 -1 1 -1 -1 1 1 -1 -1 1"
scale=".15 1 3"/>
</asset>
<worldbody>
<geom type="box" size="5 5 .1" pos="0 0 -.1"/>
<body pos="-2 0 2.99" euler="0 10 0">
<freejoint/>
<geom type="mesh" name="domino1" mesh="domino" rgba=".1 .1 .1 1"/>
</body>
<body pos="2 0 2.99" euler="0 -10 0">
<freejoint/>
<geom type="mesh" name="domino2" mesh="domino" rgba=".1 .1 .1 1"/>
</body>
</worldbody>
</mujoco>