# How does intersectsMesh works with merged meshes?

**URL:** <https://forum.babylonjs.com/t/how-does-intersectsmesh-works-with-merged-meshes/42582>\
**Category:** Questions\
**Created:** [July 20, 2023, 2:32pm UTC](https://forum.babylonjs.com/t/how-does-intersectsmesh-works-with-merged-meshes/42582 "2023-07-20T14:32:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![VerandaLouis](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/verandalouis/32/19395_2.png) [@VerandaLouis](https://forum.babylonjs.com/u/VerandaLouis)\
**Post date:** [July 20, 2023, 2:32pm UTC](https://forum.babylonjs.com/t/how-does-intersectsmesh-works-with-merged-meshes/42582/1 "2023-07-20T14:32:09Z")

</div>

Hi everyone,

By making [this PG](https://playground.babylonjs.com/#KQV9SA#427) to try [intersectsMesh function](https://doc.babylonjs.com/typedoc/classes/BABYLON.Mesh#intersectsMesh) 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.

---

<div class="post-metadata">

**Author:** ![Deltakosh](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/deltakosh/32/26635_2.png) [@Deltakosh](https://forum.babylonjs.com/u/Deltakosh)\
**Post date:** [July 20, 2023, 3:10pm UTC](https://forum.babylonjs.com/t/how-does-intersectsmesh-works-with-merged-meshes/42582/2 "2023-07-20T15:10:54Z")

</div>

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)](https://playground.babylonjs.com/#KQV9SA#429)

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)](https://playground.babylonjs.com/#KQV9SA#430)
