Internal helper function. Please use Phaser.Physics.Arcade.World#collide and Phaser.Physics.Arcade.World#overlap instead.
The first object or array of objects to check.
The second object or array of objects to check, or
An optional callback function that is called if the objects collide.
An optional callback function that lets you perform additional checks against the two objects if they collide. If this is set then
The context in which to run the callbacks.
Whether this is a collision or overlap check.
True if any objects overlap (with
overlapOnly); or true if any overlapping objects were separated.