I would suggest to make it framerate independent again

public class Rotator : MonoBehaviour
{
    [SerializeField] float rotationSpeed = 100.0f;   

    // Update is called once per frame
    void Update()
    {
        transform.Rotate(new Vector3(0f, rotationSpeed * Time.deltaTime ,0f));
    }
}
3 Likes

I did that as well out of habit and would highly recommend you implement it as well. Otherwise, it might cause some headaches down the road. here is how I did it as well just in case people were wondering, and the yRate is now at 75 and it works pretty well

    [SerializeField] float xRate = 0f;
    [SerializeField] float yRate = 15f;
    [SerializeField] float zRate = 0f;

    // Update is called once per frame
    void Update()
    {
        float xSpin = xRate * Time.deltaTime;
        float ySpin = yRate * Time.deltaTime;
        float zSpin = zRate * Time.deltaTime;
        transform.Rotate(xSpin, ySpin, zSpin);
    }

Privacy & Terms