Transform BBParameter not "sticking"

Forums 💬 NodeCanvas ⚙️ Support Transform BBParameter not "sticking"

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

      #18116
      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;

        #18115
        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 🙂

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