Hi I’m sure that this is something really simple that I’m just missing but I cant seem to change how fast my character is going no matter what I make his speed here is the code
using UnityEngine;
using System.Collections;
[RequireComponent(typeof(CharacterController))]
public class MainCharacterMovement : MonoBehaviour
{
public float MoveSpeed = 10.8F;
private Vector3 MoveDirection = Vector3.zero;
void Update()
{
CharacterController Player = GetComponent<CharacterController>();
MoveDirection = new Vector3(Input.GetAxis("Horizontal"), 0, Input.GetAxis("Vertical"));
MoveDirection = transform.TransformDirection(MoveDirection) * MoveSpeed;
//MoveDirection *= MoveSpeed;
Player.Move(MoveDirection * Time.deltaTime);
}
}