Hi everyone!
I’m new to Unity and even more to the particle system.
My issue is that the player shoots a prefab that when collides with an element of the enviroment, it explodes using the particle system (the script in the bullet destroys the bullet and instantiates the particle system effect). This explosion is instantiated through a OnTriggerEnter funtion inside the the bullet script so it should apperar in the surface, where the trigger is activate, right? Instead of that, the explosion starts isnide the enemy.
The enemy has a rigid body with continuous detection.
I uploaded a video with the effect
How can I make it to explode on the surface"?
Thank you!