We study transverse (kink mode) oscillations in the threads of solar prominences. These structures can exhibit both individual and collective behavior when groups of threads oscillate with their own periods, independent of the rest of the prominence. Several studies have suggested that these and some other oscillatory phenomena in the solar atmosphere may be explained by the phenomenon of vortex shedding, which has been widely studied in hydrodynamics but has not yet been satisfactorily investigated under magnetohydrodynamic conditions, such as those present in the solar atmosphere. We study prominence oscillations in association with vortex shedding numerically using the magnetohydrodynamic approach in three dimensions. We model the structures as groups of flexible cylindrical bodies, which allows us to study both their collective and individual behaviors. Specifically, we ran a simulation with a group of three vertically aligned cylindrical bodies and three simulations with two horizontally aligned cylindrical bodies at varying distances to evaluate the influence of separation distance.