Go back to documentation on product:

Zibra Effects

Zibra Smoke & Fire

Colliders are manipulators that collide with simulation. They can apply force to Smoke & Fire.

Creating Analytic Colliders GameObjects

  1. Right click in the Hierarchy window, and select “Zibra Smoke and Fire -> Analytic Collider -> Your preferred shape”

    That creates a new GameObject, with Smoke & Fire Collider and Analytic SDF components and chosen shape pre-configured.

    Please note, if you right clicked specifically on your Zibra Smoke & Fire object, you can skip step 2

    Creating Analytic Colliders.png

  2. Open Inspector for your Smoke & Fire object, and press the Add button in the list of colliders to add. You can also use the Add all button to add all colliders to your Smoke & Fire instance.

    You may also need to expand the list of colliders to add by pressing the “Add Collider” button first.

    “Add Collider” button.png

After that your collider is ready to be used. You can set its transform in the editor, or move it at runtime.

Adding Colliders to existing GameObjects

  1. Open inspector for your selected GameObject. Press Add Component and select “Zibra Smoke & Fire -> Smoke & Fire Collider”.

     Smoke & Fire Collider.png

  2. In Smoke & Fire Collider add one of the SDF components.

    For more information about SDF components, please see SDFs.

     add one of the SDF components.png

  3. Configure newly created SDF component

  4. Open Inspector for your Smoke & Fire object, and press the Add button in the list of manipulators to add. You can also use the Add all button to add all colliders to your Smoke & Fire instance.

    You may also need to expand the list of colliders to add by pressing the “Add Manipulator” button first.

    “Add Manipulator” button.png

After that your collider is ready to be used. You can set its transform in the editor, or move it at runtime.

Collider parameters