How do I make a group collide with world bounds?

#1

I am trying to create a group of objects under the arcade physics system that will collide and “bounce” off of world bounds. I understand that for a single object, doing myObject.setCollideWorldBounds(true) does the trick, but I am unsure how to create a collider with world bounds that could be applied to a group.
Thank you for any help.
-Duncan

#2

Maybe this is what you are looking for

#3

No, thank you. I am looking for a way to set up a collider using physics.add.collider (or some other method with the same effect) that will apply to the whole group, instead of having to configure each group member individually.