The Problems With Ankylosaurus

At one point in the Jurassic World movie, we see the main kids of the film riding in one of the park’s cool gyrospheres. During that point, they come across a pack of ankylosaurus. In the film, we see them use their mace-like tail as a whip that could be used as both a defensive and offensive weapon. They were likely not aggressive according to experts. They ate plants and were so gentle that they rarely even fought amongst each other. We have not found any real evidence of combat being a common trend in the fossil records for them.
Therefore, the tails were unlikely to ever be used to hit any other creatures. Much less random smaller animals, because again, it was not a carnivore. That said, their tails were more than likely used to knock down food from trees like vegetables or more likely, fruits. Experts have even claimed that the ankylosaurus was likely more of a loner and did not travel in packs. Potentially, you could relate it to how the rhinoceros operates today. Rarely did they need to travel in packs, but also like the rhino, they were likely social enough. After all, mating must still take place.