float angle=-45;
Quaternion startRot=myobj.transform.rotation; //i take this at start only
myobj.transform.rotation= startRot*Quaternion.Euler(0,0,angle); //on update
why It won’t rotate with negative values?
inside the editor I can put whatever value I want on the z…
EDIT: nevermind…my fault!