I’m trying to move an object based on an array of positions values… i.e. at a fixed interval of time (say 10ms), I want to index into the next element of the array and update the position
I understand Time.deltaTime can be used like this to update the frame periodically:
void Update ()
{
transform.Rotate(Vector3.right * Time.deltaTime * 10);
}
but how can I change this so that the next set position comes 10 milliseconds later?