diff --git a/python/mujoco/simulate.cc b/python/mujoco/simulate.cc index b81f6071..11320657 100644 --- a/python/mujoco/simulate.cc +++ b/python/mujoco/simulate.cc @@ -160,6 +160,12 @@ PYBIND11_MODULE(_simulate, pymodule) { simulate.UpdateHField(hfieldid); }, py::call_guard()) + .def( + "update_mesh", + [](SimulateWrapper& simulate, int meshid) { + simulate.UpdateMesh(meshid); + }, + py::call_guard()) .def( "update_texture", [](SimulateWrapper& simulate, int texid) {