The invention refers to a rotary engine intended for use as a means of transportation and as a stationary motor. The rotary engine consists of a rotor [1] which has a cap [2] an one end, to which a tubular shaft [3] is attached, the other end of the rotor [1] having a cap [5] to which another tubular shaft [6] is attached.