I am a graduate student and I use MuJoCo for my research on legged locomotion.
I'm trying to use mesh to generate various terrains. I use simulate to test the following model file, with a mesh and multiple free boxes to test collision detections. It's expected that all boxes will finally stop on the surface of the terrain. However, all boxes seem to stop on the bounding box of the mesh. I have checked MuJoCo's documents and found that it supports non-convex mesh for collision detection. So, the simulation result seems to be wrong.
I have tried to set nativeccd to true or set convexhull to false. All options produce the same results.
Intro
Hi!
I am a graduate student and I use MuJoCo for my research on legged locomotion.
I'm trying to use mesh to generate various terrains. I use
simulate
to test the following model file, with a mesh and multiple free boxes to test collision detections. It's expected that all boxes will finally stop on the surface of the terrain. However, all boxes seem to stop on the bounding box of the mesh. I have checked MuJoCo's documents and found that it supports non-convex mesh for collision detection. So, the simulation result seems to be wrong.I have tried to set
nativeccd
to true or setconvexhull
to false. All options produce the same results.My setup
MuJoCo 3.2.4
What's happening? What did you expect?
https://github.com/user-attachments/assets/585e4db8-ae8d-473b-b22c-cad37a641cf1
Steps for reproduction
Simulate the following model file.
Minimal model for reproduction
Code required for reproduction
No response
Confirmations