CLuaParticle:SetCollideCallback
Description
Sets the function that gets called whenever the particle collides with the world.
Arguments
1 function collideFunc
Collide callback, the arguments are:
CLuaParticle particle - The particle itself
Vector hitPos - Position of the collision
Vector hitNormal - Direction of the collision, perpendicular to the hit surface
Example
Creates an explosion every time an particle collides with something.