Tween issue or feature?

NodeCanvas Forums Support Tween issue or feature?

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #9566
    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.

    #9572
    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.

    Join us on Discord: https://discord.gg/97q2Rjh

    #9571
    AndyGFX
    Participant

    Hi,

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

    Andy.

    #9570
    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.

    Join us on Discord: https://discord.gg/97q2Rjh

    #9569
    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.

    #9568
    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!

    Join us on Discord: https://discord.gg/97q2Rjh

    #9567
    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.