PYBULLET: Add DIFFERENT collision shapes in custom multibody design

Official Python bindings with a focus on reinforcement learning and robotics.
Post Reply
nsane4stargate
Posts: 1
Joined: Thu Jun 21, 2018 9:35 pm

PYBULLET: Add DIFFERENT collision shapes in custom multibody design

Post 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.
User avatar
Erwin Coumans
Site Admin
Posts: 4221
Joined: Sun Jun 26, 2005 6:43 pm
Location: California, USA
Contact:

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

Post by Erwin Coumans »

See the createVisualShapeArray.py example. You can create an array of collision shapes and visual shapes.
Post Reply