bullet3 icon indicating copy to clipboard operation
bullet3 copied to clipboard

PyBullet-New feature: Allow composite convex hulls to be procedurally created

Open neemoh opened this issue 1 year ago • 0 comments

Since #1926 it is allowed to pass vertices/indices to createCollisionShape instead of a file name, which is great. However, it is only possible to create a collision shape with a single convex hull, since the vertices are expected to be a list of Vec3.

In contrast, when reading from a .obj file the collision shape can have multiple convex hulls (coming for instance from the VHACD). It would be great to expose this to the Python API too. So one can pass a list[list[Vec3]] as vertices to createCollisionShape.

neemoh avatar Oct 11 '23 07:10 neemoh