Smoothing an up and down movement

Hi,

I’m doing a first person view space shooter. The player’s ship is on an orbit around the ennemies (only on the XZ plan (rotate around the Y axis), so on a circular orbit not a spherical) and it can pan up and down from his position on the orbit. For the rotation and the panning I’ve used the Fingergesture scripts (TBOrbit on an empty game object and TBPan on a camera which is child of the empty gameobject).
1485304--82553--$Orbit.jpg

This is what I want to achieve:
When you are at the highest point and you drag the camera down, I want a small rotation of the camera upwards, and the opposite when you move up from the bottom.
1485304--82555--$smooth movement-04.jpg

A bit like what’s happening with your pen inbetween your fingers when you move your hand up and down.
1485304--82556--$Rubberpenciltrick.png

How can I achieve this ? Can someone send me to the right direction on how to do this please.

Thanks a lot for your help

I’m not totally sure if I even got what you are trying to achieve here. Here’s my solution to what I understood =)
Does the camera have a LookAt target? You could use that and give it an inverse, factored distance to it’s original position based on the speed of the camera.
Something like:

LookAt = Vector3.zero -  myCamera.currentSpeed.y * 0,25f;

If you moved the camera down the LookAt would instead move up a little bit, giving you the impression of the camera looking up or down. When the speed of the camera is zero, also the offset of the LookAt would become zero.