I believe what you need to take under notice is the above link that @toby posted and also collision code from games (probably a sphere around each drone but for protecting the drones) and at last start moving from the outer layers if you go outside or from the inner layers if you go inside the "3d structure".
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.