Currently I am using the third person controller and camera scripts that come with unity3d. May I know if there is a way to make the turning less abrupt and smooth? Currently each time, I press the left/right key, it will turn 90 degrees. I tried to change a couple of variables like the key sensitivity, rotation speed, etc but nothing helps. Can anyone point me the right direction?
I tried that already but there isn’t much use. I think the sensitivity is more of how fast it reacts to your control but somehow it still makes a 90 degrees turn. My horizontal input comes from the keyboard “A” and “D” keys.
The third person controller that comes with Unity is a bit complicated to follow and to understand. Lots of code. Making your own controller may be the easier way here. Sorry that i have no better advice.
Kind of agree with you. I have been spending the past 2 days trying to understand the codes but still quite lost (new to 3d gaming)… It is a convenient way to get things started but any customization after that is a pain…
Both scripts are faily easy to follow and they do exactly what they mean to do, which is the exact opposite of what you are trying to acheive.
Thoses 2 scripts are working together to allow the player to move around by “pointing” where they wanna go. It’s the direction of movement that is retrieved from input. Pressing ‘A’ means: i wanna go to the left in reference to the camera point of view. It doesnt mean i want to turn left.
Nowhere in thoses scripts there is an actual rotation made to your avator. The rotation you see in the scripts are to “lineup” your avator’s foward vector with his direction of movement. This is why you think you are rotating your avator by 90deg.
So your only options left are either write your own controllers or search the web for an already implemented solution.