Skip to content

Lib.particle.force.SwitchParticleForce

Thomas Mann edited this page Sep 5, 2025 · 1 revision

SwitchParticleForce

in Lib.particle.force


Switches between connected forces for the ParticleSystem. Can be used to switch between forces or deactivate all. The index starts with 0 for the first input and will wrap on values exceeding the count of connected inputs.

Tip:

  • use index -1 to activate none (i.e. disable all)
  • use index -2 to activate all

Is used with [ParticleSystem] and any force such as [AxisStepForce], [TurbulenceForce] etc.


Input Parameters

Name (Relevancy & Type) Description
Input (ParticleSystemRequired) -
Index (Int32) Defines which of the incoming Forces is active
-1 disables all forces
-2 activates all forces

Outputs

Name Type
Selected T3.Core.DataTypes.ParticleSystem

⚠ Everything else is automatically generated and will be overwritten regularly.

Clone this wiki locally