# Collision particle

**URL:** <https://forum.defold.com/t/collision-particle/1827>\
**Category:** Questions\
**Created:** [May 10, 2016, 7:37pm UTC](https://forum.defold.com/t/collision-particle/1827 "2016-05-10T19:37:24Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![artuan](https://forum-defold.b-cdn.net/letter_avatar_proxy/v4/letter/a/db5fbb/32.png) [@artuan](https://forum.defold.com/u/artuan)\
**Post date:** [May 10, 2016, 7:37pm UTC](https://forum.defold.com/t/collision-particle/1827/1 "2016-05-10T19:37:24Z")

</div>

Hi,

I would like to ask if it is possible to detect a collision of particle to an object? I suppose it should be possible but I’m unable to set it up.

Thank you for your help

---

<div class="post-metadata">

**Author:** ![Lukas\_Palmer](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/lukas_palmer/32/722_2.png) [@Lukas\_Palmer](https://forum.defold.com/u/Lukas_Palmer)\
**Post date:** [May 10, 2016, 8:47pm UTC](https://forum.defold.com/t/collision-particle/1827/2 "2016-05-10T20:47:13Z")

</div>

As far as I know, for performance reasons particles created by Defold’s particle system are not actual physical objects. Anyone who sees this and knows otherwise, feel free to correct me, I’m not 100% sure on this one.

If you want particles that can interact with the rest of the world, you’ll want to create a simple ‘particle’ game object with a small sprite, collider, and a script to handle particle color, fading, etc.

Would you mind sharing a screenshot of your setup?

---

<div class="post-metadata">

**Author:** ![britzl](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/britzl/32/23_2.png) [@britzl](https://forum.defold.com/u/britzl)\
**Post date:** [May 10, 2016, 10:09pm UTC](https://forum.defold.com/t/collision-particle/1827/3 "2016-05-10T22:09:29Z")

</div>

> [@Lukas\_Palmer](#):
>
> particles created by Defold’s particle system are not actual physical objects. Anyone who sees this and knows otherwise, feel free to correct me, I’m not 100% sure on this one.

Lukas is correct. Particles are not part of the Box2D physics.

---

<div class="post-metadata">

**Author:** ![artuan](https://forum-defold.b-cdn.net/letter_avatar_proxy/v4/letter/a/db5fbb/32.png) [@artuan](https://forum.defold.com/u/artuan)\
**Post date:** [May 11, 2016, 6:54am UTC](https://forum.defold.com/t/collision-particle/1827/4 "2016-05-11T06:54:25Z")

</div>

My set up is basically the Magic Link tutorial + added particlefx to the box.

I would like to make a chain reaction game. One solution would be to iterate over the array of elements to find neighbours and act, but detecting the collision of particles would be much better I think.

This is my first tutorial/game so any kind of help would be really appreciate.

 ![](https://defold-forum-bucket.nbg1.your-objectstorage.com/original/2X/d/dd9712c914df5007cb595b8029cdcbd2a0db83a5.png)

---

<div class="post-metadata">

**Author:** ![artuan](https://forum-defold.b-cdn.net/letter_avatar_proxy/v4/letter/a/db5fbb/32.png) [@artuan](https://forum.defold.com/u/artuan)\
**Post date:** [May 11, 2016, 6:55am UTC](https://forum.defold.com/t/collision-particle/1827/5 "2016-05-11T06:55:33Z")

</div>

![](https://defold-forum-bucket.nbg1.your-objectstorage.com/original/2X/2/20fff573d5f0eb00a852c6424aa275234dd4dfec.png)

---

<div class="post-metadata">

**Author:** ![artuan](https://forum-defold.b-cdn.net/letter_avatar_proxy/v4/letter/a/db5fbb/32.png) [@artuan](https://forum.defold.com/u/artuan)\
**Post date:** [May 11, 2016, 6:56am UTC](https://forum.defold.com/t/collision-particle/1827/6 "2016-05-11T06:56:18Z")

</div>

![](https://defold-forum-bucket.nbg1.your-objectstorage.com/original/2X/0/0f147f6d531635f84293c5930bc5e026b9fcb6c0.png)

---

<div class="post-metadata">

**Author:** ![britzl](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/britzl/32/23_2.png) [@britzl](https://forum.defold.com/u/britzl)\
**Post date:** [May 11, 2016, 6:10pm UTC](https://forum.defold.com/t/collision-particle/1827/7 "2016-05-11T18:10:00Z")

</div>

@sicher has written the Magic Linker tutorial and knows the code inside out. He should be able to provide you with some assistance.

---

<div class="post-metadata">

**Author:** ![artuan](https://forum-defold.b-cdn.net/letter_avatar_proxy/v4/letter/a/db5fbb/32.png) [@artuan](https://forum.defold.com/u/artuan)\
**Post date:** [May 11, 2016, 6:11pm UTC](https://forum.defold.com/t/collision-particle/1827/8 "2016-05-11T18:11:58Z")

</div>

Thank you @britzl, but my problem is not related to the Magic Linker tutorial. I just use this tutorial as base for my tests.

My problem is detecting sprite collision with an go.

---

<div class="post-metadata">

**Author:** ![britzl](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/britzl/32/23_2.png) [@britzl](https://forum.defold.com/u/britzl)\
**Post date:** [May 11, 2016, 6:18pm UTC](https://forum.defold.com/t/collision-particle/1827/9 "2016-05-11T18:18:13Z")

</div>

You can’t detect sprite collisions, you need to add a collision component with one or more collision shapes that cover the sprite and detect collisions between the collision shapes. The [Physics manual](http://www.defold.com/manuals/physics/) should describe this in detail.
