I’m having a little problem
when I move my character forward or backward
either up or down, it reaches normal speed
but if I move it diagonally his speed increases
and this can not happen in any game right?
Anyone know what it takes to achieve a standard rate velocity for all angles?
void moveJogador_func(){
CharacterController controller = GetComponent<CharacterController>();
vt = new Vector3(-Input.GetAxis("Vertical"),0,Input.GetAxis("Horizontal"));
vt = transform.TransformDirection(vt * vl);
vt.y -= gravidade * Time.deltaTime;
controller.Move(vt * Time.deltaTime);
That's not a comment :P
– LoiusHa, you got me =]
– AlucardJay