Thank you!
Glad you are interested... yes we used raycasts, the logic was a bit complex but we got it eventually :)