File: inertia_convex.xml

package info (click to toggle)
mujoco 2.2.2-3.2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 39,796 kB
  • sloc: ansic: 28,947; cpp: 28,897; cs: 14,241; python: 10,465; xml: 5,104; sh: 93; makefile: 34
file content (23 lines) | stat: -rw-r--r-- 471 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<mujoco>
  <asset>
    <mesh file="cube.obj"/>
    <mesh name="inline_cube"
        vertex="
          -.5 -.5 -.5
          .5 -.5 -.5
          .5  .5 -.5
          -.5  .5 -.5
          -.5 -.5  .5
          .5 -.5  .5
          .5  .5  .5
          -.5  .5  .5"/>
  </asset>
  <worldbody>
    <body>
      <geom type="mesh" mesh="cube" density="1"/>
    </body>
    <body>
      <geom type="mesh" mesh="inline_cube" density="1"/>
    </body>
  </worldbody>
</mujoco>