Legacy Documentation: Version 4.6(go to latest)
Language: English
  • C#
  • JS
  • Boo

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

ParticleSystem.Simulate

Switch to Manual
public function Simulate(t: float, withChildren: bool = true, restart: bool = true): void;

Parameters

t Time to fastforward the particle system.
withChildren Fastforward all child particle systems as well.
restart Restart and start from the beginning.

Description

Fastforwards the particle system by simulating particles over given period of time, then pauses it.

See Also: Play, Pause functions.