How does intersectsMesh works with merged meshes?

Hi everyone,

By making this PG to try intersectsMesh function with the precision parameter set to true, i expected that balloon4 works in a similar way that balloon2 but it looks like it work like balloon1.

Did i do something wrong ? Does it possible to have a closer “bounding box check” for the balloon4 ?
Please enlighten me.

Intersection is not using faces but object aligned bounding boxes (when precise set to true)

You can see here why the intersection works the way it is right now:
intersectsMesh with precise true but with merged meshes | Babylon.js Playground (babylonjs.com)

What you can do is merge the meshes at the origin and then move and rotate the merged mesh:
intersectsMesh with precise true but with merged meshes | Babylon.js Playground (babylonjs.com)

4 Likes