Results 1 to 4 of 4

Thread: Animate a plane along an endless line

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Sep 2010
    Posts
    5
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Maemo/MeeGo

    Default Animate a plane along an endless line

    I'm quite new to QML and I'm trying to program a little game.

    I'm trying to animate a plane flying along an endless line. If the rotation of the plane changes the plane updates it's path (line). I implemented this feature in js, but the problem is that the animations are never smooth.

    Using any animation like NumberAnimation the plane moves very smooth, but these Animations are all from-to based, so I can move from A to B but I cannot (or I dont know how) move the plane continuous along an endless line using a NumberAnimation.

    Any suggestions?

    plan_rich
    Last edited by plan_rich; 30th December 2010 at 17:19. Reason: changed title

Similar Threads

  1. Getting std::string object from QString object ( qt3)
    By joseph in forum Qt Programming
    Replies: 11
    Last Post: 28th March 2013, 20:09
  2. Replies: 4
    Last Post: 20th August 2010, 13:07
  3. Replies: 1
    Last Post: 30th July 2010, 23:05
  4. writing object to the file(Object Persistance)
    By jjbabu in forum Qt Programming
    Replies: 2
    Last Post: 11th June 2009, 14:28
  5. Open a QMainWindow Object in QDialog Object
    By chuengchuenghq in forum Qt Programming
    Replies: 1
    Last Post: 13th June 2008, 06:33

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.