Blender 4 add on for creating custom collision meshes and GDScript to import them

The blender script is forked from another project to update to Blender 4 and add GLTF export. It provides to separate algorithms for decomposing a mesh into convex meshes. V-HCD and CoACD (you need to download these executables from their respective repos).

CoACD does a much better job with anything that has a hole or concave area that is important to preserve.

The GDScript is made for importing the resulting GLB file. It imports the mesh, creates a rigidbody3d for it and creates and attaches the convex collision meshes.

4 Likes