Files
Mujoco_WASM/test/user/testdata/textured_torus_flex.xml
T
Alessio Quaglino 7651cb1b33 Copy texture coordinates from OBJ into flex. Fixes #2464.
PiperOrigin-RevId: 732109960
Change-Id: I506b3540ab5d489ce8f10d0c473919611ccb654a
2025-02-28 06:04:19 -08:00

15 lines
411 B
XML

<mujoco>
<compiler assetdir="textured_torus"/>
<asset>
<texture file="carpet.png" type="2d"/>
<material name="carpet" texture="carpet"/>
</asset>
<worldbody>
<flexcomp name="torus" type="mesh" file="textured_torus.obj"
radius="0.01" dim="2" material="carpet">
<contact internal="false" selfcollide="none"/>
<edge equality="true" />
</flexcomp>
</worldbody>
</mujoco>