Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Define a path (custom direction) for particles of an emitter

Define a path (custom direction) for particles of an emitter

Scheduled Pinned Locked Moved QML and Qt Quick
4 Posts 2 Posters 1.1k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    alizadeh91
    wrote on last edited by
    #1

    I'm using Qt5.3 and I'm using QtQuick.Particles2.0 system to show fluid motion inside a pipe by an emitter and defining a direction. For a straight line of pipe, I have no problem to show the particles inside the pipe (since it's just a target position). But consider I have deviated pipe; How can I define a path for the particles in the emitter?

    1 Reply Last reply
    0
    • A Offline
      A Offline
      alizadeh91
      wrote on last edited by
      #2

      Any idea or suggestion will be appreciated :)

      1 Reply Last reply
      0
      • A Offline
        A Offline
        alizadeh91
        wrote on last edited by
        #3

        I was seeking and I've found "CumulativeDirection" but never found an example. Does anyone has any example to show how to use "CumulativeDirection"?

        1 Reply Last reply
        0
        • D Offline
          D Offline
          dasRicardo
          wrote on last edited by
          #4

          Maybe "here":https://qt.gitorious.org/qt/qtdeclarative/source/29c4b643272a43022081cce063394bac823ab529:examples/declarative/particles/trails/fireworks.qml near the end of the file.

          **Sorry for my english :)

          PLEASE ADD [SOLVED] TO YOUR THREAD TITLE IF IT'S SOLVED.**

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved