Nonequilibrium phase transitions in feedback-controlled three-dimensional particle dynamics