Hi. I want to know how to check if a mesh intersects with all other meshes in a single line of code. I know we could use mesh.intersectMesh
method, but how can we check intersection with a group of meshes. For example, every time our mesh intersects with a mesh named collider a callback get called.
You could use the action manager for this Actions | Babylon.js Documentation
Or instersectMesh as you mentionned within a loop
Or physics: Collisions | Babylon.js Documentation