Tween issue or feature?

Forums 💬 NodeCanvas ⚙️ Support Tween issue or feature?

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #19039
    andygfx
    Participant

      Hi,

      I found strange behaviour, when is used any Action after Tween action (Wait for finish = true), then is not next action node executed. Same in action list. But when Wait for finish = false, then is all OK. Question is, how can I call action, when I need wait for Tween finish?

      Andy.

      #19045
      Gavalakis
      Keymaster

        Hey Andy,

        I can’t reproduce this issue. The Tween actions wait correctly and the next action is executed after the tween is finished as expected.
        Can you please post a screenshot of the BT or FSM?

        Thanks.

        #19044
        andygfx
        Participant

          Hi,

          here is in situation, when node “SET BLOCKER to true” isn’t called.

          Andy.

          #19043
          Gavalakis
          Keymaster

            Hey,

            The problem with this tree is that the Sequencers are Dynamic. The Trigger Enter and Trigger Exit conditions are only true for 1 frame. As such, and since the Sequencers are Dynamic, they constantely revaluate the Trigger condition which 1 frame later returns false, thus any actions are canceled prematurely. The “SET BLOCKER” action never gets a change to execute.

            You basicaly want the Selector to be Dynamic (if at all) instead of the two Sequencer.
            Let me know if that solves your issue.

            Thanks.

            #19042
            andygfx
            Participant

              Hi,

              no. I tried a lot of option with dyn. selector and result was technicaly same. Next images is final working tree.

              I have to try FSM, because Door logic is more about states like events.

              A.

              #19041
              Gavalakis
              Keymaster

                Hi,

                Yeah. You will be better to model this in an FSM since what you are after is basicaly 2 dinstictive finite states. Open/Close 🙂

                Cheers!

                #19040
                andygfx
                Participant

                  Hi,

                  here is same solution, but as FSM.

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