How to re-use collision shapes among rigid bodies

Post Reply
Mark97
Posts: 21
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?
User avatar
drleviathan
Posts: 756
Joined: Tue Sep 30, 2014 6:03 pm
Location: San Francisco

Re: How to re-use collision shapes among rigid bodies

Post by drleviathan »

For best results move your questions to thePyBullet Support and Feedback forum.
Mark97
Posts: 21
Joined: Sun Sep 26, 2021 12:38 pm

Re: How to re-use collision shapes among rigid bodies

Post by Mark97 »

drleviathan wrote: Mon Oct 25, 2021 3:09 pm For best results move your questions to thePyBullet Support and Feedback forum.
Thanks! I have posted it there as well. Hope to get a reply :)
Post Reply