Transform.Find wrapper (get descendant ny name)

NodeCanvas Forums Custom Nodes & Tasks Transform.Find wrapper (get descendant ny name)

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #11666
    bcristian
    Participant

    Can’t believe this one is not already present 😀
    (and after posting this I really hope it’s really not present and I’m not making a fool of myself for missing it, lol)

    #11670
    Gavalakis
    Keymaster

    Hey,

    Indeed this does not exist as a custom action. The reason for that is only because it can be done with ScriptControl/ExecuteFunction 🙂

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

    #11672
    bcristian
    Participant

    Yes, but there is a big caveat to using ScriptControl/ExecuteFunction for this: it will succeed even if the child is not found.
    Obvious if one stops to think about how a generic method invocation action would work and what status is returns, but all to easy to expect that it will return it the child is found or not, and be left scratching one’s head at the seemingly puzzling behavior. Or at least it was for me 😀

    #11688
    Gavalakis
    Keymaster

    You are right in that regard.
    So, I’ve just added this action task in the package 🙂
    Thanks.

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

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