on_collide passes the colliding object to the original object’s callback