Target-oriented predator and prey swarm control in obstacle-filled environments