Not Detecting Particle Collisions

For some reason it wont detect the particle collisions on the enemy. I have a box collider on the enemy child, placed the script on the enemy parent object, and coded the script to print “Enemy Hit” on particle collision. I’m not sure what could be going on.

I moved the script onto the child enemy object and it works. Its not how he demonstrated in the video but at least its working.

Oh I see! I just added the box collider to the wrong object. I was suppose to add it to the parent enemy object instead of the child one.

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms