collides(group, callback, callbackContext, shape)
Adds the given CollisionGroup, or array of CollisionGroups, to the list of groups that this body will collide with and updates the collision masks.
Parameters
Name Type Argument Description group Phaser.Physics.CollisionGroup | array The Collision Group or Array of Collision Groups that this Bodies shapes will collide with. callback function <optional> Optional callback that will be triggered when this Body impacts with the given