HatCatter/Assets/Scripts/HighSpeedTrainPassForward.cs

13 lines
348 B
C#
Executable File

using UnityEngine;
public class HighSpeedTrainPassForward : MonoBehaviour // this script isn't being used anymore, its stupid
{
public Transform train;
Transform forward;
void FixedUpdate() {
forward = GetComponent<Transform>(); // this is terrible dont do it this way
forward.position = new Vector3(2, 0, 0);
}
}