bulletphysics / bullet3

Bullet Physics SDK: real-time collision detection and multi-physics simulation for VR, games, visual effects, robotics, machine learning etc.

Home Page:http://bulletphysics.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

error using v_hacd : createCollisionShape failed

francogassibe opened this issue · comments

Hi there, i use the v-hacd tool and in general i have no problems, but recently i had problems with some meshes.
Do someone know what requirements does my mesh needs to have?
Im thinking about things like:

  • if its a closed mesh
  • the size of the mesh (if its too heavy)
  • connectivity

The error i get is just "b3Printf: Request createCollisionShape failed"

My .stl files come from a Solid Works assembled project so i think that there might be some screws or litle parts inside my main part that may cause problems.

Here is one of my STLs my_piece.zip
Thank you in advance

i have done some research and based on what this https://github.com/kmammou/v-hacd git says in its presentation (slide 16)
the meshes have to be watertight (whatever that means) with no holes inside.
Could anyone confirm me if this is also true in pybullet?
Also what does "watertight" means mesh wise? is it that it is not closed or is it that is not connected?