- Home /
Character motor script resets when I play
I'm using the First Person Controller script that comes in the Standard Assets and whenever I try to play my project, all the values for speed are reset back to 10. This is a pain in the ass because it ends with my character running everywhere, when for this particular part of the game I want the player to walk. When I stop playing and go back to the main workspace, it goes back to the values in which I have set myself and want to use.
Can someone please help me out?
Answer by runevision · Jan 12, 2011 at 09:31 AM
Some script attached to your character must be setting the values of the CharacterMotor.
Well here is a screenshot of my First Person Script in the Inspector. See if you can find anything out of the ordinary?
http://s877.photobucket.com/albums/ab337/BrikProductions/?action=view¤t=fpcsript.jpg
No I don't see anything special. I'm afraid though there there is just not enough information to be able to say why it is happening for you. I've used the Character$$anonymous$$otor component with various speeds without problem.