Internal helper function. Please use Phaser.Physics.Arcade.World#collide instead.
The first object to check for collision.
The second object to check for collision.
The callback to invoke when the two objects collide.
The callback to invoke when the two objects collide. Must return a boolean.
The scope in which to call 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.