- Home /
Question by
Shkarface-Noori · Nov 08, 2014 at 07:22 PM ·
uispeedrecttransform
RectTransform.Rotate with custom speed
Hi, how can I use RectTransform.Rotate(Vector3 rotation) with a custom speed or make the rotate faster?
Thanks in advance.
Comment
Answer by AlwaysSunny · Nov 09, 2014 at 12:06 AM
The rotation vector argument controls the "speed" - the three components are the three euler angles by which you'll rotate this frame. Multiplying by a coefficient less than one will rotate slower, greater than one will rotate faster.