So, I’m new to game design and scripting. I recently started working on a game and wanted a third person camera. I then found a few scripts and applied them to my camera. The only problem is I cant look up or down I’m just fixed to rotating in y-axis and can only change the horizontal view. The scripting language is in C# and I’m using a mouse aim camera with a dungeon camera. Can someone help me figure out how to look up and down without changing languages. This is the Mouse Aim script:
So then is there a way to tell it to use the y axis. Also I did try the line that fire7side recommended and it did nothing so can I tell it to use the y-axis.
then you would add the code so it rotates on the Y to be honest though look at the cam that comes with Unity Standard Assets I learnt loads about Cams from looking at the coding It isn’t that hard to convert it to C# as the files that come are JS. Hope this helps you out anyway.
Ya I used all the script and it didn’t do anything. I had already tried what Josenifftod had put, that was my first instinct but it said I couldn’t use Vertical.