[BUG] Binary selector is wrong when branch succeed

Forums 💬 NodeCanvas ⚙️ Support [BUG] Binary selector is wrong when branch succeed

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #15895
    driiade
    Participant

      Hello,

      Seems BinarySelector is all wrong when the current selected branch succeed.

      I branched the true branch on a Sub Behaviour Tree which succeed / end. And this node seems to check condition not the same way as a combinaison of Selector / Conditional decorator.

       

      It’s not clear, because I don’t really know what happen, but Capture5 and Capture 6 does not provide the same result in edge case of branch success/end

      #15897
      Gavalakis
      Keymaster

        Hello!

        Hmm. Can you please explain a bit more what is wrong with the Binary Selector behaviour? The Binary Selector is a utility Node which simply executes the left (TRUE) or right (FALSE) child node based on the condition it has assigned. (and indeed it does work differently that a normal Selector).

        #15896
        driiade
        Participant

          Hello sorry it is not clear and can’t remember very well (I’m rushing for delivering the next version of the game).

          But in case of success of the true branch, if I remember well, the false branch is also executed. Something like that.

          Which is not the behaviour of the selector + conditional composition.

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