UpdateParticles
Category: Particle Effects (Pro)
Signature
UpdateParticles(system As Integer, seconds As Double)
Returns
Void
Description
Advances particle age, forces, velocity, position, rotation, lifetime removal, and bounds collisions.
Performance and behavior
Normally pass FrameDelta(). Individual updates are clamped to 0.1 seconds to avoid unstable jumps after a paused or stalled frame. Long-range attraction automatically switches between direct and adaptive multipole solvers. Large coincident or tightly clustered emissions remain on an aggregate path instead of degrading into an all-pairs update.
Pro feature: compiling code that uses this function requires a license with the GamePhysics feature enabled.
Example
UpdateParticles particles, FrameDelta()