Hello all,
I'm having some trouble making the diagonal movement speed of my character the same as normal walking speed. When moving diagonally, it moves faster than normal. Any help on this would be appreciated. Thanks.
Below is the script for my character controller:
Character moves too fast diagonally
I'm having some trouble making the diagonal movement speed of my character the same as normal walking speed. When moving diagonally, it moves faster than normal. Any help on this would be appreciated. Thanks.
Below is the script for my character controller:
Code (CSharp):
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- public class FirstPersonController : MonoBehaviour
- {
- public bool CanMove { get; private set; } = true;
- private bool...