That still doesn't move the player along with it, though...
Maybe store the movement of the object in a temporary variable, then just before moving the object check if the object's close enough to the player, and if so add its movement to that of the player as well?