- Home /
Question by
imspikey2u · Jul 08, 2015 at 04:16 PM ·
rotationguibugcanvasbug-perhaps
Canvas wired rotation bug
Hello Im not sure that this is a bug but since Im using unity 5.1.0f3 it might be.
When I rotate UI object inside the canvas Im having strange result
This is an image in side a canvase which I am rotating with this code.
void Update () {
transform.Rotate(0,0, Time.deltaTime*4);
}
Insted of a smooth rotation I am getting this strange result, and not to forget that also this happens with all GUI elements when I apply rotation on them.
So can any one help pleas?
Comment
Best Answer
Answer by ei1 · Jul 08, 2015 at 10:11 PM
Bug indeed.
I would try to animate a rotating soccer ball in an animation software, then import it into unity as a sprite sheet or animated gif.
This looks like the best solution right now thank you.
Your answer
![](https://koobas.hobune.stream/wayback/20220611230336im_/https://answers.unity.com/themes/thub/images/avi.jpg)