Third person controller bug

Hi! Im using the standard First person controller script and it spinns super fast every time i press A or D.

like this:

And i would also know, how do i make so when i press A or D he doesnt run in a circle, i want him to turn standing still on the ground if you understand

@Avi3ator

Hi there,

EDIT:

It would be helpful to see your code.

Unity examples seldom have this kind of “bugs”, maybe you added something…

It was acutally a bug in unity code, but i changed it and not it works

I have the same error

Has anyone solved it?

Please don’t respond to four-plus year old threads that contain zero code or reference to anything.

For one, it’s against forum rules, and for two, your problem almost certainly completely unrelated.

Instead, start your own fresh post… it’s FREE!

When you post, here is how to report your problem productively in the Unity3D forums:

http://plbm.com/?p=220

How to understand compiler and other errors and even fix them yourself:

https://forum.unity.com/threads/assets-mouselook-cs-29-62-error-cs1003-syntax-error-expected.1039702/#post-6730855

If you post a code snippet, ALWAYS USE CODE TAGS:

How to use code tags: https://discussions.unity.com/t/481379

If you have running code and it is misbehaving, to help gain more insight into your problem, I recommend liberally sprinkling Debug.Log() statements through your code to display information in realtime.

Doing this should help you answer these types of questions:

  • is this code even running? which parts are running? how often does it run?
  • what are the values of the variables involved? Are they initialized?

Knowing this information will help you reason about the behavior you are seeing.