I have this animated gif of my problem.
I have a sprite object with a box collider, and I'm trying to rotate it around its center.
My rotation script consists of this :
this.transform.Rotate (0, 0, Time.deltaTime * rotateSpeed);
and in the translation script this is the code :
this.transform.Translate (0, -tranSpeed * Time.deltaTime, 0);
but as you see in the gif it does not give me the effect I desire. Can anyone give me what am I supposed to do to be able to rotate it around its center? Thank you.