1. Home
  2. Docs
  3. Ignis
  4. Tutorials
  5. Ignite flame using your own particle system

Ignite flame using your own particle system

Example Use Case: You have a mage that can cast a fire spell which uses a particle system. You want the environment to catch fire from the spell.

Example in Demo Scene: Interact->Fire ignites the oil in the front.

How to implement:

  1. Your own particle systems can be used to ignite the flame. The ignition effect is done using particle collisions and can be used with any custom particle system.
  2. First you need to make sure that your particle system:
  1. Has enabled Collision
  2. Has collision type-> World
  3. Has enabled Collision->enable dynamic collisions
  4. Has enabled Collision->Send collision message

3. Add “Particle Ignite” Component to your gameobject which has the particle system.

4. Adjust IgnitePowerMultiplier and radius parameters

5. Done. Now you can test the effect and adjust the parameters.

6. Note that if you don’t have any colliders (triggers don’t count) on your object particles cannot detect collisions. In this case:

  1. Use the raycast method explained below
  2. Add a collider with a layer that rigidbodies and other objects do not collide with.
Was this article helpful to you? Yes No

Leave a Reply

Your email address will not be published. Required fields are marked *