concatenate


#1

Hi Guys,

It is probably me but I’m running in to something I can’t figure out. I’m writing a runtime expression and I want to globalize the particle name so I can easily use it for other particle shapes so I don’t have to change the name in all the attributes.

So I declared a variable named $particle and when I declare a vector variable I write this:

vector $pos = ($particle + “Shape.position”);

However it doesn’t give me the same result as when I write it without the variable.
vector $pos = particleShape.position;

obviously I must be doing something wrong.

Somebody can help me figure this out?

Thanks in advance!

Ralph