Page 1 of 1

What is the right way to make a multibody temporarily disappear?

Posted: Tue Aug 31, 2021 6:54 pm
by automata
Hello!

I have a simulation in mind where I need to make a ball (a multibody with a GEOM_SPHERE collision shape and a GEOM_MESH visual shape) disappear from the scene temporarily. There is pybullet.removeBody(), but I'm not sure if there is any way to put the body back into the simulation later without reconstructing the multibody. I can do that if I have to, but I'm wondering if there's a better approach.

Thank you for your time!