1. Home
  2. Docs
  3. Magio
  4. Tutorials
  5. Ignite effects by using your own particle system

Ignite effects by using your own particle system

Example: 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.

Steps:

  1. Your own particle systems can be used to ignite the effects. The ignition effect is done using particle collisions and can be used with any custom particle system.
    1. First you need to make sure that your particle system:
    2. Has enabled Collision
    3. Has collision type-> World
    4. Has enabled Collision->enable dynamic collisions
    5. Has enabled Collision->Send collision message
  1. Add “Particle Ignite” Component to your gameobject which has the particle system.
  2. Adjust IgnitePowerMultiplier and radius parameters
  3. Done. Now you can test the effect and adjust the parameters.
  4. 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 “Ignite effects by raycasting or by overlap sphere”
    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.