First person script question


I’m looking for two first person wiew scripts; one that rotates the camera only around the x axis, and one that rotates it only around the z axis.

Does anybody knows of two scripts like this?

Thanks in advance!:smiley:

Actually you can use just one script to do all of it. Here is a template.

Thanks Red Hand, but the thing is that i need it in two separate scripts. I have got to objects, the one that shall rotate around the y axis is the dynamic “Body” of the character setup, that all the objects are conected to, and the one that shall rotate around the x axis is the camera.

I hope someone understand what i mean…:smiley:

Thanks in advance, (again)…

That template should do what you are saying that you need to do, but with only one script.