Forums › 💬 NodeCanvas › ⚙️ Support › Transform BBParameter not "sticking"
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?
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;
saveAs = obj.transform;
saveAs.value = obj.transform;
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 🙂