Aim Angle Camera problem

Hello everyone,

im currently working on a third person camera which should change its y position depending on the aim angle.

But i stuck with the following problem:

The default y position of the camera is 1,5 and the aim angle can be between -30 and 30.
For -30 i want that the y position of the camera is 0.5 and for 30 i want 2,5.

It would be really great if someone could help me. I tried something like this and it seems like it is working when im looking up but when i look down it doesnt work.

	    aimangle=anim.GetFloat("AimAngle");
        camera.transform.position = new Vector3(camera.transform.position.x, 1.5F / aimangle, camera.transform.position.z);

anyone?