Hi to all,
how can I create a mesh that wrap two spheres of same or different size?
I’m trying to use convexgeometry but it doesn’t work.
Here a simple test:

The problem is that cube.geometry.vertices represents the vertices of the cube in local space. You have to transform the points into world space so the convex hull can respect the transformation of your objects. Right now, ConvexBufferGeometry assumes both meshes are placed at the origin (its default position).

FYI
I’ve fixed https://mdiegoli.github.io/convextest.html, to create convexhull mesh from a COPY of sphere’s vertex transformed with sphere’s World Matrix.
It seems to work better.
Thank you again!
Michele