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

Official Python bindings with a focus on reinforcement learning and robotics.
Post Reply
automata
Posts: 1
Joined: Thu Mar 18, 2021 9:16 pm

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

Post 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!
Post Reply