Question by 
               alien30 · Nov 14, 2018 at 10:33 AM · 
                c#rigidbodycharactercontrollerfps controller  
              
 
              Input.GetAxis not going forward
Hello
I have a character controller for an FPS game but when I use the keys to move, it doesn't do it relatively to my player and where the camera look.
Here is my script. Any ideas ?
         if (IsGrounded == true)
         {
 
             rb.velocity = new Vector3(Input.GetAxis("Horizontal") * Speed, rb.velocity.y, Input.GetAxis("Vertical") * Speed);
 
         }
               Comment
              
 
               
              Your answer
 
 
             Follow this Question
Related Questions
Gravity is not working 0 Answers
Player still move left&right in MenuUI 0 Answers
How to avoid CharacterControllers stepOffset launching my character into space? 1 Answer
How i make my player object passes through walls? 2 Answers
How to move an object able to collide through something outside of physics? 0 Answers
 koobas.hobune.stream
koobas.hobune.stream 
                       
                
                       
			     
			 
                