- Home /
Stop on a Dime Character Movement
ive been having issues with my character not stopping fast enough. i want him to stop on a dime when letting go of WASD controls ( unless he's in mid air from a jump)... should i use the transform.position.z commands ? how would u go about doing it? id also like a speed varaiable i can edit. id like to go from a complete stop to a instant jump at a set speed and land again on a dime. sort of like for old school counterstrike jump maps.
For starters, go into your input settings, and change the 'gravity' of your input axes to 1000 or so. See if this makes any difference.
Also, are you using rigidbodies to move, or your own character motor?
Answer by StephanK · Dec 02, 2011 at 09:53 AM
I guess your Input settings use a small setting for "gravity". If you also want the character to immediately start full speed you should consider using Input.GetAxisRaw istead of Input.GetAxis. Otherwise go to Edit->ProjectSettings->Input and set the gravity of all relevant axes to a very high value.
Your answer
Follow this Question
Related Questions
Character Rotation 2 Answers
Basic Character Transform with Joystick 1 Answer
Character movement range in strategy game. 2 Answers
Why am I not moving forward? 1 Answer
Third Person type Rpg movement 0 Answers