Overview of Creating a Particle State Setup

 
 
 

This is an overview of the state workflow using a simple example of bubble particles changing to another shape (cones) when they reach their age limit, then changing size (larger cones) when they are inside a cube.

While this is just a silly example to demonstrate how to set up a basic state, most state systems can be quite complex and sophisticated, with many State compounds defining many behavioral changes happening to the particles, such as with creating fireworks.

See the table following these images for links to more information about each step.

1 - 2: Create States

Get started using some commands.

  1. Create a particle simulation.

  2. Choose Particles After Emission State Machine Add State from the ICE toolbar for each new state you want to define.

    See Setting Up States for more information.

3 - 4: Define Each State's ID and Color

Each state needs an ID, and a color helps to identify which state a particle is in at any time.

  1. Give each state a unique ID to identify it in the system — see Setting the Particle's State ID.

  2. Give each state a unique color to help you identify each state's particles as you work — see Setting the State Color.

5 - 7: Define Each Trigger

A trigger is something that causes an effect to happen when its value is reached.

You need to define the first trigger in the primary state so that it has a reason to switch to the next state. Then each consecutive state can have a trigger, as you like.

  1. Choose one or the Trigger commands from the Particles After Emission State Machine menu on the ICE toolbar.

  2. Define the trigger's value.

  3. Specify the state to which you want the particles to transition when the trigger is pulled.

    See Selecting the Trigger for more information.

8 - 9: Define the Resulting Behavior/Effect

You need to define the effect in the next state that is being used. An effect is something that happen when the trigger's value from the previous state is reached.

  1. Get one or more effect compounds and plug them into the next state.

  2. Define the effect's behavior.

    See Defining the Effect That Is Triggered for more information.

Creative Commons License Except where otherwise noted, this work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License