Scientists have discovered neurons in insect brains that compute 3D distance and direction. Understanding these could help vision in robots.