Add mjs_makeMesh to create a builtin mesh.
PiperOrigin-RevId: 788538127 Change-Id: I999733399a1a0da07b0f915f34d31364ab8b3b52
This commit is contained in:
committed by
Copybara-Service
parent
46dc67b7eb
commit
89f4789085
Vendored
+13
@@ -0,0 +1,13 @@
|
||||
<mujoco model='makemesh'>
|
||||
<asset>
|
||||
<mesh name="wedge" builtin="wedge" params="25 25 180 90 0"/>
|
||||
<mesh name="plate" builtin="plate" params="37 37" scale="3 5 2"/>
|
||||
<mesh name="prism" builtin="prism" params="3"/>
|
||||
</asset>
|
||||
|
||||
<worldbody>
|
||||
<geom mesh="wedge" type="mesh"/>
|
||||
<geom mesh="plate" type="mesh" contype="0" conaffinity="0"/>
|
||||
<geom mesh="prism" type="mesh" pos="0 0 3"/>
|
||||
</worldbody>
|
||||
</mujoco>
|
||||
Reference in New Issue
Block a user