Character Controller Script

So I’m fairly new to Unity. But in a short while I’ve been able to learn to isolate the various scripts concerning FPS elements. I’m very concerned with trying to write everything from scratch/tutorial help because I need to know -how- everything works. If I can understand it, I can modify it. Enter: my problem.

The Character Controller is basically for all intents and purposes off limits to me. In the inspector it shows it as an element (assumedly a script but it doesn’t list one) but as to how it functions, how to play with it, heck even its code is a mystery. I’ve tried looking all over for it, can’t turn it up. Supposedly its in the original assets but i’ve been unable to find it. Only place I can be sure to see it is attached to the provided prefabs, both First and Third Person Controller (inside the Standard Assets\Character Controllers folder).

So my question isn’t really a question, but a few of them.

  1. Did I accidentally delete it somehow and its surviving as a ghost attached to a prefab?
  2. Is it some kind of voodoo or proprietorial secret I’m not allowed access to?
  3. Assuming no to the first 2, is there a tutorial I can be linked to that will explain how to write one?
  4. If it is a secret, and there is no tutorial, would going to the trouble to write my own and upload it land me in a heap of trouble?

Thanks in advance for your time, and reply!
-sgmongo

How about ‘None of the above’, and ‘Check your Documentation’. There is lots and lots of information about all the inbuilt components- just drop down the ‘help’ menu, and have a browse through the lovingly detailed API reference, as well as the manual which includes basic tutorials on pretty much everything Unity has to offer.

Well, the link you provided wasn’t very helpful, just the silly variable explination. I’ve rechecked the help material, and turned up nothing. (Not infallible here, just can’t find it)

Maybe you need an example of the kind of thing i’m looking for.

The “Slope Limit” variable governs the angle at which you can continue to move while encountering a collision.

Where is the scripting/programming that accomplishes this?

Also: you ignored the questions about a tutorial (I’ll assume there isn’t one) and about whether or not i would get into trouble for publishing one on your asset store. The latter still deserves an answer if you can.

Thanks again,
-sgmongo

Don’t want to be a spoilsport here, but i bought a book and it says in the first chapter at a given point “We just need to add the collision check
function to the built-in Character Controller script and we will have functionality.”

that lead me to googling and i came here for an answer as to why i can’t find the Character Controller script.
Now i have my answer cause it’s under the hood in Unitý, but now i’m frustrated cause i want to learn scripting and now i get stuck in this book also…

been searching for 50 hours on some good starting info…getting mighty frustrated here…