Hi Harri, On 02/12/2011, at 2:06 AM, ext Harri Pasanen wrote:
> I'm trying to wrap my head around QML animations. > > I'm having hard time animating anything that is not linear motion. > If I'd like the animation to follow a path (or curve), how should I go > about it? In QtQuick 1, path support is restricted to use in PathView. In QtQuick 2, there are new PathAnimation and PathInterpolator elements which support exactly these needs. PathAnimation takes a QML item and a Path object, and animates the item along the path. PathInterpolator has a 'progress' property that can be animated, and then a QML item's x and y can be bound to the PathInterpolator's x and y values. regards, Bea _______________________________________________ Qt-qml mailing list Qt-qml@qt.nokia.com http://lists.qt.nokia.com/mailman/listinfo/qt-qml