hello
I’m trying to do the roll-a-ball tutorial and the cube won’t rotate
I believe I wrote the code as the video instructed and the cube still won’t budge.
can anyone help?
using UnityEngine;
using System.Collections;
public class Rotator : MonoBehaviour
{
// Update is called once per frame
void Update ()
{
transform.Rotate(new Vector3(15, 30, 45) * Time.deltaTime);
}
}