Of course it's not only mechanical! Else you can't "adjust" nothing. ( sure, you can stop all of this in mid-track, but it's pretty limitative ). There are motors on every bending part, it's like a robot. wich is an extemely hard thing to control, just imagine it's all free to move and you can manually adjust all, you can reach a certain position in many many ways, first you can move the upper motor, then the middle motor, or move only the upper, or little the upper, then the middle then the upper, of course you can do it at the same time but just with different speed.
And this is pretty hard to do and to not collide in the car itself. but then, you have sensors, and this sensor are placed on the moving part, wich means they measure something wich is changing while you move! the angle, the height, the distance.. all is changing!
It's pretty hard to do.