My demo works well in the editor. However, upon game build the camera follows the player differently. It appears to have a delay like it's following the animation colliders etc. Any ideas on how to fix this?
Camera script
{
public GameObject player;
public Vector3 cameraOffset;
void Start()
{
player = GameObject.FindGameObjectWithTag("Jacko");
cameraOffset = transform.position - player.transform.position;
}
void LateUpdate()
{
transform.position = player.transform.position + cameraOffset;
}
}