Hello all,
Well like most of my life, I run into some things that does not make any scenes. To make a long story short, when i first got wind of unity 5 I downloaded it to see what it was about. I have my old stand by computer, so I put unity on that, XP 32bit. Then about a week later I got a nice win 7 64bit computer just for unity 5. So I downloaded unity 64 bit unity 5. Then I order the e-book unity in action. I got the palyer working on the old computer. the MouseLook code and the FPSInput code. They both worked just fine. So today I did the same thing on the new computer. The MouseLook code worked fine, but the FPSInput code would not run.
I looked for my mistakes, found some. Still it will not run. So I copy and paste, did not run.
I have the error, here some photos, so you can see.
If I did this right the first photo you see is unity telling the error.
the next one show the code in the book
the last show the code in unity.
Maybe some one may know why this is going on.
Thank you
renny
Hey I found the edit
I can’t find a way to edit , so will just make a new one.
Here is a better photo of the error.

That error message isn’t saying there’s a problem in your code, but that there’s a problem with the Character Controller component itself. You probably need to adjust the component in the Inspector; for example, at the top left of the component is a checkbox that you might have accidentally turned off.
1 Like
Thank I will try that
renny
I found the problem, seeing I know it was the Character Controller component. So I did some reading up on how it works.
I made very small map, so I scale down the player,a lot. It was to small and would not work, the skin width was to small.
I made a bigger map and a bigger player and it works just fine. Thank you for your help jhocking.
renny
1 Like
Well I got my player to run around in the world with collision. It look nice, I call it “Grass Land”


Looks like a fine start, I’ll bet you do awesome stuff with it.
No, it is gone, I was just working on the code. It will be a long time be for I make something good.
renny