OnParticleCollide event not triggering
I'm currently trying to spawn blood decals when blood particles hit the floor. To achieve this I added an event generator of type collision on the particle system and I tried to bind the event to a function. However the bound function OnBloodParticleCollide is getting triggered. I can't seem to find what I'm doing wrong, also my code seems to be styled in a weird manner in this post. I've seen other posts that had a way better representation of the code. Is there a better way to style it?
asked May 19 '19 at 06:22 PM in C++ Programming
This is solved, I was binding the function to my projectile which gets destroyed after spawning the particles. This meant the object that was waiting for the onParticleCollide was no longer available and the function was not executing.
answered May 25 '19 at 06:04 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here