So i have my setup as follows
theoretically when my game starts this scene the camera should move to the desired coordinates via the game object but it is not moving at all for some reason.
using UnityEngine;
using System.Collections;
public class CameraControl : MonoBehaviour {
private Transform cameraposition;
public float speed;
// Use this for initialization
void Awake () {
speed = 5.0f;
transform.position = Vector3.MoveTowards(transform.position,new Vector3(24.8f, 11.5f, 4.6f), speed * Time.deltaTime);
}
// Update is called once per frame
void LateUpdate () {
}
}