Problem with FPS cant find answers in the internet..

I followed this tutorial. FPS Shooting script tutorial
http://www.youtube.com/watch?v=oCvNpEk_9g8

but theres a problem as you can see in the video the bullets only shoots forward. when the player look up the the bullets wont shoot upward. please help.

Your bullet instance doesnt have any direction when he Instantiate he used a Quaternion.identity.

So you could do is after you create your instance give it a rotation.

bullet.transform.rotation = Quaternion.lookRotation(mainCamera.forward);

try this after you instantiate the bullet in script.

PS. Remember to define mainCamera as a var type Transform.

not working. there is no lookRotation and main.Camera.forward. Have you already tried this yourself?