I am very new to scripting and would really appreciate some help.
I have been following some tutorials online and I have been able to create a particle instance explosion, but I have not been able to stop the particles from rotating once they hit the ground. Could someone please help me with this.
Here is the maya file, it's only 400k
[https://www.dropbox.com/s/911gg69g0cfm4up/ParticleExplosion.ma](https://www.dropbox.com/s/911gg69g0cfm4up/ParticleExplosion.ma)
[b]
Creation Expression[/b]
float $scaleNum = rand (.2,1); particleShape1.customOrient =<<rand(360),rand(360),rand(360)>>;
particleShape1.customSpeed = rand(30,-30);
particleShape1.CustomIndex = rand(0,5);
particleShape1.customScale = <<$scaleNum,$scaleNum,$scaleNum>>;
[b]
RuntimeExpression[/b]
particleShape1.customOrient += particleShape1.customSpeed;

