It's framerate-dependent. It's rotating a set amount every frame, which is not what you want. Use rotateSpeed * Time.deltaTime, and then the value for rotateSpeed should be the number of degrees per second, so a value of 90 for example would make a complete revolution in 4 seconds. "0.5" should also be multiplied by Time.deltaTime, though I don't know what your intentions are for that. (0.5 what?)
0.5 is suppost to be the speed that i want my light to rotate.
0.5 is suppost to be the speed that i want my light to rotate.
– anon8526362Yes, but speed in what units? Degrees per second?
– Eric5h5