I have been hard working with Unity for last two week.It is really good technology! I made simply show holes function.
function SpawnHole(hit : RaycastHit){
var rotation = Quaternion.FromToRotation(Vector3.up, hit.normal);
var hole = Instantiate(hole, hit.point,rotation);
}
It works good. Now need to join holes and my ridigbody. Which possibilities have I?
Holes are small mesh planes with textures.
After the instantiation, you can parent the hitted object to the holes so as the hole meshes will be the children of the actual hitted object, they will move and rotate with it.