It appears that people who have reached, at least, cosmic consciousness can have access to the 5th dimension. It means that you can go anyplace and anytime in the universe. In the western culture, various saints in the Catholic religion have been able to master the siddhi of bilocation, such as St. Martin de Porres. In the Vedic tradition, Narada was able to travel to various places in the universe to teach sentient beings of Vishnu and his nature.
However, yogic flying and floating in the air might be another siddhi that accesses the 6th Dimension which can pertain to the control of gravity. Access to the other higher dimensions can mean attaining the power to heal, the power to create, and manipulate the various elements in nature, such as fire, water, air, earth, ether and the various forces at the subatomic level.