Trigger event don't fire with non-self target.

Forums 💬 FlowCanvas ⚙️ Support Trigger event don't fire with non-self target.

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #21823
    grein
    Participant

      Hi there,

      I have prefab with parent gObj and child gObj. Parent gObj include FlowScript and child gObj consists of Rigidbody (with checked isKinematic property) and Collider components. And some obstacle objects contain Collider component with checked isTrigger property.

      Well I try detect collision between child gObj of prefab and obstacle gObj. As FlowScript connected to parent gObj of prefab and Collider (with Rigidbody) to child I use target for trigger. But it’s not work. Pls, tell me, WAIDW?

      PS: srry for my Eng

      #21829
      Gavalakis
      Keymaster

        Hello,

        Hmm. This happens because the Trigger Event node is initialized before the Start Event node. This of course should not happen.
        I have just properly implemented a way to always execute nodes in correct priority, thus fix this problem you are facing.
        If you want I can send you the new version to your email 🙂
        Should I use your registered email account for that?

        Let me know.
        Thank you!

        #21828
        grein
        Participant

          Yes, please send me on registered email.

          #21827
          Gavalakis
          Keymaster

            I’ve sent you the mail.
            Let me know if that works for you.
            Thanks.

            #21826
            grein
            Participant

              Fix not work for me(
              I deleted folder ParadoxNotion -> installed package -> run project
              And error occured again when I start the scene

              #21825
              Gavalakis
              Keymaster

                Hello again,

                As I stated in my email I send you, please use the “OnAwake” or the “OnEnable” events for initialization.
                Don’t use “On Start”. Right now, the “On Start” event is called 1 frame after everything else.

                Please replace “On Start” with “On Awake” and let me know if that works for you.
                Thank you.

                #21824
                grein
                Participant

                  Hello,

                  Sorry for my inattention(
                  Yes, that work with “OnAwake” event.

                  Thank you so much.

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