So when I add the float of randYOrient in the creation do I write it like this–
Creation:
float $scaleNum = rand (.2,1);
float $randYOrient = rand(360);
particleShape1.customOrient =<<rand(360),rand(360),rand(360)>>;
particleShape1.customSpeed = rand(30,-30);
particleShape1.CustomIndex = rand(0,5);
particleShape1.customScale = <<$scaleNum,$scaleNum,$scaleNum>>;
Runtime:
particleShape1.customOrient += particleShape1.customSpeed;
if (particleShape1.velocity <=.01)
particleShape1.customOrient = <<0,$randYOrient,0>>;
With the above expression I get this error “”$randYOrient" is an undeclared variable."
