Transform BBParameter not "sticking"

NodeCanvas Forums Support Transform BBParameter not "sticking"

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #11834
    aer0ace
    Participant

    I have the following action attached to the first state:

    and in the subsequent action, I try to use the transform that was saved to the blackboard in another custom action:

    But when this action executes, the blackboard variable that saves the transform is null….

    Is this expected? How do I properly use this?

    #11835
    aer0ace
    Participant

    All right, as usual, I fix my problem a few minutes after posting a question…

    Instead of
    saveAs = obj.transform;
    it’s (and I swear I tried this first, and it didn’t work):
    saveAs.value = obj.transform;

    #11844
    Gavalakis
    Keymaster

    Glad you found the solution and for letting me know.
    Yes, you should always use the .value property of the parameter instead of the parameter itself 🙂

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

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