- Home /
Question by
dansav · Jan 21, 2013 at 02:44 AM ·
particlesystempausesimulate
Shuriken Particle Pause Stop Simulate
I'm trying to use Simulate with a Shuriken Particle System called soft snow included with Unity 4.0. I'm confused about what Simulate does. If I put in Simulate(5) in the code below it seems to speed up the snow falling. The docs say it should simulate to where t=5 would be and pause.
function Update(){
var snowgo=GameObject.Find("softsnow");
var snowsystem=snowgo.GetComponent(ParticleSystem);
snowsystem.Simulate(5);
snowsystem.Pause();
}
I'm trying to learn how to control the particles so that I can go to any time (t) of the particle simulation and only show that particular time t.
Comment