Is there a way to disable bodies dynamically at run-time? #439
-
I am using MuJoCo with the Python API and while I load a model with multiple bodies, I would like at run-time to disable/remove some objects. When I say disabling/removing objects, I mean to make MuJoCo not simulate the dynamics of those objects at every time step. I experimented with disabling contacts by setting the Thank you. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
While we plan to address this use case in the future, the current answer is No, you cannot do that. For some situations you can put an object far away and then bring it back to where you want it as a proxy for actually removing it. I realise this is a hacky solution that may not apply to your use case. |
Beta Was this translation helpful? Give feedback.
While we plan to address this use case in the future, the current answer is No, you cannot do that.
For some situations you can put an object far away and then bring it back to where you want it as a proxy for actually removing it. I realise this is a hacky solution that may not apply to your use case.