title: How to detect mesh collision in Unity3d?
body: <p>Can we detect mesh collision in unity3d? I want to show some texture on collision, currently I am using box colliders, that's why its surface/edge do not match with the object body mesh, Also even if I get the hit point on the surface of mesh, I don't know how to put a texture on a mesh at specific position over mesh, is there any in-built component specific for the same kind of requirement or a workaround of this in unity3d?</p>
  
  <p><a href="https://i.stack.imgur.com/bue42.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/bue42.png" alt="enter image description here"></a></p>
  
  <p>As we can see in picture the collision has been detected inside the game object because the box collider is inside the target object mesh
  <strong>Note: here the actual mesh I have replaced with a dummy cube mesh</strong></p>
  
  <p>But is there any way to detect when bullet collider/mesh was actually going through the mesh of the target object as in below image I have shown where exactly I want to detect the hit point between target object mesh and bullet mesh/collider also how to draw a texture over here (the hit point on the mesh).</p>
  
  <p><a href="https://i.stack.imgur.com/r7yz7.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/r7yz7.png" alt="enter image description here"></a></p>