- Home /
 
 
               Question by 
               iDerpCake · Jul 28, 2016 at 01:41 AM · 
                c#scripting problemplayercharactercontrollercharacter movement  
              
 
              Boosting Character Controller Problem
I am trying to make a character controller be pushed into a certain direction.
I wrote this but I want it to be smoother:
 Vector3 moveDirection = Vector3.zero;
 moveDirection = new Vector3(0, 10,50);
 moveDirection = transform.TransformDirection(moveDirection);
 moveDirection *= 5.0f;
 moveDirection = transform.rotation * moveDirection ;
 characterController.Move(moveDirection * Time.deltaTime)
 
              
               Comment
              
 
               
              Have you tried CharacterController.Simple$$anonymous$$ove()? 
Your answer
 
             Follow this Question
Related Questions
OnCollisionEnter Sine Wave to Character 0 Answers
jump with character controller best way? 1 Answer
player isn't rotating along y-axis 1 Answer
Getting the Player in a Script! 2 Answers