Hello, all. I am going to do something rather basic I think. I'm using tank controls as of now. I want to have a First Person character but when I move the mouse, that should move the view of the character, as if he is moving his head around to look at things. I want to be able to move forward and back with the WSAD keys of course, but, for example, if I hit 'play' out of the box on a First Person character, and I swirl my mouse around, nothing will happen right now. If I want to look off to the right, I essentially turn to the right with the WSAD keys. Any easy fixes on the described behavior I want? If not easy, which script and line modifies this behavior? I MIGHT use UFPS for this game, but I prefer to code it by hand myself and use only AC, and some environmental plug-ins. Thanks.
Comments
Hmmm, edit. I went to change the script and saw this behavior is under tankControl turning, so I switched to Relative to Camera. Now it seems to be what I was after, though there is still a little drift. I think I can fix that in the public acceleration variable of Player.cs, within the inspector.