using UnityEngine;
using System.Collections;
public class characterMovement : MonoBehaviour {
// Update is called once per frame
void Update () {
if(Input.GetKey(KeyCode.W)){
transform.position += Vector3.forward * Time.deltaTime;
}
}
}
Having a problem with that script and I’m not sure what I’m doing wrong as no errors or console messages are coming back so the script is activated and working but i don’t understand why the functionality isn’t working?
Also, is there any way in which i can link the mouseLook script to the character script? in other words, where the character looks with the mouse, thats what the player will follow? So following head movement?