Surface point function

given a gameObject and a point in its local space the function returns
the closest point in the surface of it's collider