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

https://lh7-us.googleusercontent.com/G69rDiORRlIzT6yZHQ58qvZB0k0JyaUeru5bnJN9pSfVj_arhUEHk1f_ScKC7Qzxure9NhiF8qQScLCnOXB60Yr4yMRknOWpY8Xz_-l3SXDzkODspd7pu67Hh2iqBwaGEqHsqf3b0GhxDakoscEXA34

  1. 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.

    https://lh7-us.googleusercontent.com/kDlE4O-E0N6TN0lArIe7fC8DXaSy4fKR9TOIQ9Smg3Z4MsWV-RaGr-zaYAKbBvl65KqPSF9i3JhZ07xFOSyEdDgPwSq9oIb1r4K8U7levsCy9mK_DA3-oD7XK_1Kj-zGhd2TZttIdCSpbEJk-NBSWNk

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”.

https://lh7-us.googleusercontent.com/pLX3f3KaduKaeANiKjo6MB5l8x_bLnqFoxODiPNMQdx2J5DWATL5siquyu6d_lK1vhobFVplf1bRYsE61EQjKY-G9ccpmYEFW2QhCW1HW1EoRaQXEwsvR1WcGyTHWmSYGhWs7lJnpFyHMktulIoC6JI

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

    For more information about SDF components, please see SDFs.

    https://lh7-us.googleusercontent.com/EZa8HlzhkwjSec9SykojO6ezCYLeU0ELlm5lIVF7hhGdrph-l_UAByJ3hk_TFEI1vdGwSDcvWq5n4b9_M-gs0-n5hmRSYskWhzMQza6VWL_CaGEvRejsftUHOp-DhTNceoFmslrWkMzpTVGzFxqrk8o

  2. Configure newly created SDF component

  3. 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.

    https://lh7-us.googleusercontent.com/0TxDLiBWHYP0JdhnJp_LuawJmxdt1fd5dGEu0xhpS1fb0mD7iEeJUKPvqxSDyaPldk28v8sUwZ2q_0Uzlpymv-IxhjxbeTYlbcCj3ewX0TXo1f7l-sDmSXFZAiNUBRVOoOtidKyqaxn2KR6SWPlk23I

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

Collider parameters