Hey all I am trying to make a scene where the player is experiencing a plane crash however when I try and move the camera with transform. Translate the camera is not moving. The plane moves along as expected but the camera doesn't.
public class FlyPlane : MonoBehaviour {
private GameObject walkPlane;
private GameObject playerController;
// Start is called before the first frame update
void Start()
{
walkPlane = GameObject.Find("WalkPlane");
playerController = GameObject.Find("Player");
}
// Update is called once per frame
void Update()
{
transform.Translate(0,0,.1f); // actual flying plane
walkPlane.transform.Translate(0,0,.1f);
playerController.transform.Translate(0,0,.1f);
}}