Re: This may be very noob, but Particle Collision?
Posted: Thu Oct 29, 2009 4:07 am
not all of us are 110% accustom to reading lua + love "code"
This may be very noob
This may be very noob
Right, it gives an excellent example for generation of bodies/shapes and applying love.physics to detect collision between those shapes. However, I am wondering if it is possible to do this using a ParticleSystem to generate the particles and detect collisions between particles and other entities.Robin wrote:I'm not sure what you mean here... doesn't reading the source give you the necessary information?
I think so, since they are very different components of LÖVE. And look at it this way: imagine how slow it would be if every particle would have a body and a shape, that must be checked for collisions every update, plus the continuous creation and deletion of many of them would probably swamp all memory.DustinEwan wrote:or are particles only for show and therefore cannot be used for interaction?