- Home /
Character Controller / Charactor Motor has no inputs?
I made a movement script using character controller, basically Input.GetButton("j"), from what I understand "character motor" has gavity for jumping, so I set and input for jumping to the spacebar, attach the script to the player and also attach the CharacterMotor script to the player, Disabled all my other scripts,press space and nothing happens? I must be missing something, so I guess my question is: How do you make the player jump with physics attaching the charactermotor script?
Answer by ConsoleHack000 · Jan 03, 2016 at 05:55 PM
Try using Input.getKeyDown(KeyCode.J) check if this works. also are you using rigidbody? try to Debug.Log to check if the key input works. or make sure your input type is set to key/mouse button. if this still doesn't work, post the code please.
Your answer
Follow this Question
Related Questions
Use Mouse as Direction for Character Movement? 0 Answers
Adding gravity to character and grounded checks are not working? 0 Answers
How to instantiate on collision a Jump event with Standard FPS controller? 1 Answer
CharacterController how to disable acceleration of falling when moving in the air? 1 Answer
Change gravity point on trigger 0 Answers