2016-05-15 15:08 GMT+02:00 Elvis Stansvik <elvst...@gmail.com>:
> Hi folks,
>
> With RotationAnimation I can control the direction of the rotation
> (cw/ccw). But I'd like to animate rotation at a certain speed, using
> SmoothedAnimation:
>
>         Behavior on rotation {
>             SmoothedAnimation {
>                 velocity: 45
>             }
>         }
>
> But with SmoothedAnimation I have no control over the direction of rotation :/
>
> Any ideas?

I'm still looking for a solution to this, no one knows of one?

I guess what I have to do is use RotationAnimation after all, and
control the duration based on the angular distance to my target angle.
But that way I can't get the easing curve I would get with a
SmoothedAnimation, right?

Elvis
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to