Add primitive sphere-cylinder collider.

PiperOrigin-RevId: 543586615
Change-Id: Icd47123e619f731f16dedfec25d825e44c24c036
This commit is contained in:
Yuval Tassa
2023-06-26 17:24:41 -07:00
committed by Copybara-Service
parent 1d6d6f33bf
commit a7021df63e
6 changed files with 185 additions and 2 deletions
@@ -0,0 +1,44 @@
<mujoco>
<statistic meansize="0.15"/>
<visual>
<map force="0.02"/>
<scale contactheight=".05" contactwidth=".2"/>
<headlight ambient=".4 .4 .4"/>
</visual>
<option>
<flag gravity="disable"/>
</option>
<worldbody>
<light pos="0 0 1"/>
<body pos="0 0 .3">
<freejoint/>
<geom type="sphere" size=".05" rgba=".5 .5 .5 .5" margin="0.1" gap="0.1"/>
</body>
<body pos="-.5 0 .3">
<freejoint/>
<geom type="sphere" size=".1" rgba=".5 .5 .5 .5"/>
</body>
<body mocap="true" pos="-1 0 0">
<geom type="cylinder" size=".2 .01" rgba=".5 .5 .5 .3" margin=".04"/>
</body>
<body mocap="true" pos="-.5 0 0">
<geom type="cylinder" size=".2 .04" rgba=".5 .5 .5 .3"/>
</body>
<body mocap="true">
<geom type="cylinder" size=".2 .2" rgba=".5 .5 .5 .3"/>
</body>
<body mocap="true" pos=".5 0 0">
<geom type="cylinder" size=".02 .1" rgba=".5 .5 .5 .3"/>
</body>
</worldbody>
</mujoco>