A camera on a track then ran through the treeline, filming the positions where Rocket would be jumping through the trees.
As you can see in the video above, this particular scene in Guardians of the Galaxy Vol. 2 depends on a pretty awesome blend of practical effects and modern CGI accompaniment.
But, the showstopper is a little effect called the actor’s imagination, as the Ravagers on set would pretend to be hit by Rocket, with nothing more than a stuffed dummy as reference.
On the practical side of the house, the set does house a series of trees that are rigged with over 600 bullet hits that explode to simulate the gunfire from the Ravager army on the ground.