Page 1 of 1

PYBULLET: Add DIFFERENT collision shapes in custom multibody design

Posted: Thu Jun 21, 2018 9:43 pm
by nsane4stargate
Hi everyone.

Hoping someone could help me out with my conundrum. I am trying to add different collisions shapes together to make my own custom robot in pyBullet. However, I am on the verge of giving up on this because I have no idea how to use the createMultiBody() function to create a multibody with different shapes. It only works when all the shapes are the same. Any help would be greatly appreciated.

Re: PYBULLET: Add DIFFERENT collision shapes in custom multibody design

Posted: Tue Jun 26, 2018 4:54 am
by Erwin Coumans
See the createVisualShapeArray.py example. You can create an array of collision shapes and visual shapes.