Hello.
I have some problems with a simple rotating object. It stutters often while spinning around at one axis. I use Time.deltaTime but i have always this stuttering in unity editor, in windows build, web build and on an ipad.
The c# script i use is simply following:
void Update()
{
transform.Rotate(Vector3.forward * rotationSpeed * Time.deltaTime);
}
I found so many examples and answers where this is the given way to mak some rotating object, but when i try it it hangs every now and then for a frame or so. Not on the same spot mostly on different positions.
What could be the problem?
Maybe other things you have going on. If you have Pro, look in the profiler.
– Eric5h5Classic reason would be a garbage collection spike - if you were allocating memory somewhere else
– whydoidoitI tried it in a completely empty Project. Just the script, my rotating object and a texture for it. I dont't have pro unfortunately.
– Boosum