I’m in the process of upgrading to NodeCanvas 2.82, but I have found an issue.
It seems, when using a Transform as a value for a BBParameter<Vector3>, NodeCanvas no longer sets Transform.position when writing to this blackboard parameter. The action task shows “AutoConvert: (Transform ➲ Vector3) [GET ONLY]”.
Was this functionality removed by accident, or on purpose? Will it be restored, or can I restore it myself?
EDIT:
I have added this code to Variable.GetSetConverter:
Indeed, ‘Vector3 -> Transform’ auto conversion was actually removed on purpose, because it was a bit too “vague” on what it does if you don’t know about it, but I could probably add it back if it is something that is being used, which looks like it does 🙂
I think it is a very convenient way of setting the position of objects. It´s quite a common operation and using this feature you can easily set the position of one object to be identical to some other object using a single GetProperty. Thanks for considering to put it back.
Author
Posts
Viewing 3 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic.
Login
Register
By registering on this website you agree to our Privacy Policy.