Legacy Documentation: Version 5.0
Language: English
  • C#
  • JS

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

tTime to fastforward the particle system.
withChildrenFastforward all child particle systems as well.
restartRestart 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.