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

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

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

    Attachments:
    You must be logged in to view attached files.
    #1976
    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!

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

    #1981
    grein
    Participant

    Yes, please send me on registered email.

    #1982
    Gavalakis
    Keymaster

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

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

    #1983
    grein
    Participant

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

    Attachments:
    You must be logged in to view attached files.
    #1985
    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.

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

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