brjig
02-09-2009, 02:04 AM
hey guys
im not sure if this is the right place to put it, but here it goes
I have a particle system, set up to numeric
now I have a perParticle attribute called "worldPositionAverage"
in the Runtime Before Dynamics I have this script
vector $pos = particleShape1.position;
worldPositionAverage = ($pos.x + $pos.y + $pos.z)/3;
now in the attribute where is says numeric
I type in worldPositionAverage, so the particles will give me the world position average in the viewport.
but i keep getting this error
setAttr -type "string" missileSmokeShape.attributeName "missileSmokeShape.worldPositionAverage";
// Warning: Invalid attribute Name //
can someone help me pleaseeee
or something that will help me get the average in the worldPosition of the particles
Thanks alot
im not sure if this is the right place to put it, but here it goes
I have a particle system, set up to numeric
now I have a perParticle attribute called "worldPositionAverage"
in the Runtime Before Dynamics I have this script
vector $pos = particleShape1.position;
worldPositionAverage = ($pos.x + $pos.y + $pos.z)/3;
now in the attribute where is says numeric
I type in worldPositionAverage, so the particles will give me the world position average in the viewport.
but i keep getting this error
setAttr -type "string" missileSmokeShape.attributeName "missileSmokeShape.worldPositionAverage";
// Warning: Invalid attribute Name //
can someone help me pleaseeee
or something that will help me get the average in the worldPosition of the particles
Thanks alot
