Hi, I am required to make a container and gold coins start dropping in and fill the container.
I’ve created an emitter and used particle instancers to replace the particles with my coin shape polygon.
I inserted this expression into the dynamic attribute i created, “rotateMe”
(Creation)
seed(nParticleShape1.particleId);
float $rotRand=rand(180);
nParticleShape1.rotateMe=<<$rotRand,$rotRand,$rotRand>>;
(Runtime before dynamics)
nParticleShape1.rotateMe +=20
now the problem is the coins wont stop rotating, I want the coins to stop rotating when it hits the ground and im a total newbie in scripting. Can anyone help me out?
Thank you. 