Difference between Vector Parameters

Hello!

There is a little problem with material and parameter collection.
I have material parameter collection with vector parameter called “Location” (exp). But, when I try to connect it with Distance node, it types an error about that the type

But when I’m trying to use vector parameter in material, which is not from collection - it works. But I need to use it from collection to change it in real time blueprint.

So… What the different between them? They are actually the same sort of float4 type parameter.
Thanks!

If my memory serves me right, its because the alpha from a vector4 is a seperate output, while in the collection param its embedded in the output.

Try and append the alpha with the rgb output from the vector4 and you’ll get the same error.
You can mask out the alpha part of the collection parameter, or perhaps (and havent tried it… so dont take my word on it) try and append a 0 or 1 into the absolute world position and it should take the collection parameter as is.

I had tried this one - doesn’t work :frowning: