Files
Mujoco_WASM/test/user/testdata/textured_torus.xml
T
Kevin Zakka cce35e1816 Add assetdir compiler option.
PiperOrigin-RevId: 478117894
Change-Id: I4a93108e00558034aa02d22047da80adfa4232b2
2022-09-30 17:59:25 -07:00

14 lines
454 B
XML

<mujoco>
<compiler assetdir="textured_torus"/>
<asset>
<mesh name="torus" file="textured_torus.obj"/>
<mesh name="flipped_torus" file="textured_torus.obj" scale="-1 1 1"/>
<texture file="carpet.png" type="2d"/>
<material name="carpet" texture="carpet"/>
</asset>
<worldbody>
<geom type="mesh" mesh="torus" material="carpet"/>
<geom type="mesh" mesh="flipped_torus" material="carpet" pos="0 0 1"/>
</worldbody>
</mujoco>