Skip to content
vr-thi edited this page Jul 17, 2017 · 1 revision

Input

Adjust your code

Nothing to do :)

All particle systems in your scene are synchronized automatically.

What does not work?

  • At the moment we only synchronize particles which already exist at the beginning of the scene. Dynamically created particles are not synchronized!

How it works

At the beginning of every Update() call the master sends the delta time by which all particles progressed in the current frame to all slaves (The delta time is the same for all running particle systems). The slaves now forward all their particle systems by the received delta time. In this way particles are precisely synchronized every frame.

Package

InputParticleMessage
float particleDeltaTime

Clone this wiki locally