Some, like tyrannosaurus rex with its bone-crunching teeth, are obviously predators.
Previous studies have looked at the movements of birds the direct descendents of dinosaurs and fossilized footprints to judge how tyrannosaurus rex would have moved.