Delay start time?

Forums 💬 FlowCanvas ⚙️ Support Delay start time?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #12563
    dharry
    Participant

      I am moving a few objects around the screen and that is all working fine. But I want to wait 5 seconds before moving the first object. I tried using the Wait node but can’t seem to get it to work.

      Is that the best node to use or is there a better one?

       

      #12566
      Gavalakis
      Keymaster

        Hello,

        Adding the Wait node after the Update will make the Wait node be called once per-frame and will basically queue every call made to it. The Wait node (and similar nodes that “take time to complete”), work by queuing the calls in a way that once a loop is “finished” the next loop will begin.

        Do you indeed want to move the objects per-frame (in Update). If yes, do you want to simply delay 5 seconds before you begin moving the objects? If so, you could use a Switch Condition node and check if Time is greater or equal to 5, like this:

        [attachment file=”Wait5.png”]

        Is that what you want to achieve by any chance?

        Let me know 🙂
        Thanks!

        #12565
        dharry
        Participant

          That’s perfect! Thank you – I was looking at it all the wrong way really 🙂

          #12564
          Gavalakis
          Keymaster

            You are very welcome. I am glad I could help 🙂

          Viewing 4 posts - 1 through 4 (of 4 total)
          • You must be logged in to reply to this topic.