7a7dc7ccad
The obj_decoder plugin is updated to parse line segments ('l') from OBJ files and represent them as degenerate triangles. The user_flexcomp compiler now supports flex dimensions of 1, using these parsed line segments to define the 1D flex elements. The compile sample's error reporting is also improved.
PiperOrigin-RevId: 928566870
Change-Id: I6920729d1b1d5aeb391401c3245ebb1d4784c190
6 lines
125 B
XML
6 lines
125 B
XML
<mujoco>
|
|
<worldbody>
|
|
<flexcomp name="line" type="mesh" file="line.obj" dim="1" radius="0.1"/>
|
|
</worldbody>
|
|
</mujoco>
|