That was a proof of concept project, inspired by one of the scene of Inception movie when Ariadne bends Paris.
Disclaimer : the level is the demo map of City Park Environment Collection made by SilverTm.
An idea came few weeks ago: how would it like to be inside of a giant sphere?
The effect in motion.
The concept for the algorythm. In the end I chosed to use RotateAboutAxis for the transform. I am making one rotation to place the mesh to the arc pivoted by the camera, but one extra rotation was needed to correct its rotation.
The math became quite simple in the end. Some simple trigonometry to get the Rotation Angle for the vertices and the Cross Product of the Object Direction and Up vector for the Rotation Axis.