A radiotherapy system and method for delivering radiotherapy are provided. In some aspects, the radiotherapy system includes beam director comprising a radiation source configured to generate radiation for irradiating a patient, the beam director having at least four degrees of freedom of movement. The radiotherapy system also includes a controller configured to operate the beam director to irradiate the patient in accordance with a radiation treatment plan, wherein the radiation treatment plan is generated based on a solution space determined by the at least four degrees of freedom of movement of the beam director.