Page 1 of 1

How to re-use collision shapes among rigid bodies

Posted: Mon Oct 25, 2021 4:41 pm
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?