There is a Path element that does this. 


________________________________
 From: Harri Pasanen <[email protected]>
To: "[email protected]" <[email protected]> 
Sent: Thursday, December 1, 2011 11:06 AM
Subject: [Qt-qml] QML animations
 
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?

Two example usages:

A rocket accelerates along elliptical curve and then starts coasting.

A rat runs through a maze in along given path.

I'm looking for something like CAKeyframeAnimation:

http://developer.apple.com/library/mac/#documentation/GraphicsImaging/Reference/CAKeyframeAnimation_class/Introduction/Introduction.html

How would I achieve this with QML?


Thanks,

/Harri

_______________________________________________
Qt-qml mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt-qml
_______________________________________________
Qt-qml mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt-qml

Reply via email to