How can I make an object change its shape?

How can I make an object change its shape?It’s the kind of curl that you get, just like the barrel of a gun.

are you trying to twist a cylinder to get that effect during the game? what exactly are you trying to do? you want to change somethings shape but never really say what your trying to do. generally if you want to change the shape of a mesh you would use morph targets.

I’m doing a project of virtual reality, by distorting the scene map, the map into a cylindrical, then the camera emitted from cylindrical, then switch to another scene, such as movie inception this screenshot

237652-tim截图20180416134940.png