How to re-use collision shapes among rigid bodies

Official Python bindings with a focus on reinforcement learning and robotics.
Post Reply
Mark97
Posts: 25
Joined: Sun Sep 26, 2021 12:38 pm

How to re-use collision shapes among rigid bodies

Post by Mark97 »

In the Bullet Physics Hello World example, the following warning is made:

"make sure to re-use collision shapes among rigid bodies whenever possible!"

However, in PyBullet this is not mentioned. I wish to speed up computation speed, as well as add more objects. In my project I have to work with thousands of objects, of which many are the same.

Is there a way in Python to re-use an object?
Post Reply