Is there a way the player can control the First Person Controller so that he can increase its speed at will or revert to a slower default? I know how to change the default speed; just wondering if I could allow the player to move faster if he wants to (like, by pressing the up key plus another key). Thanks!
asked May 09 '11 at 06:33 PM
sure you can. either you use the "run button" way, and simply let the script check if the run button is pressed. if yes, it uses run speed, if no, it uses walk speed. the other way im thinking of is a smooth speed control, like you used to have in the old splinter cell games (controlled by mouse wheel in that case). you could simply check for a button to be pressed and raise the speed value by 1.
answered May 09 '11 at 06:46 PM