- Home /
 
 
               Question by 
               MindlessVoid · Oct 04, 2018 at 10:00 PM · 
                vector3controllervelocityplayer movement  
              
 
              Slow falling when using Rigidbody set velocity as playercontroller
Hi i'm currently using
 float inputX = Input.GetAxisRaw("Horizontal") * speed;
         float inputY = Input.GetAxisRaw("Vertical") * speed;
 
 
         Vector3 forwardsMovement = transform.forward * inputY;
         Vector3 rightMovement = transform.right * inputX;
 
 
         Vector3 moveVelocity = (forwardsMovement + rightMovement);
 
         rb.velocity = moveVelocity;
 
               as a way to controll my character. However, this sets my y velocity to zero so i get this really wierd falling / gliding. Is there any way to stop this? Or should i use another way to controll my character?
Thanks in advance!
               Comment
              
 
               
              Your answer