The science behind animal-inspired robotics