Space Shooter Unity tutorial - Troubles with particles

Big problem with the engine particles. I think I did a pretty good job replicating the look and behaviour of the two particle systems making up the engine exhaust jet. The problem i have is that the particles’ location need to stay in the same position, relative to the ship, throughout their entire life, even as the ship moves, and I haven’t figured out how to do that yet. Any suggestions?

As it’s a particle, when it is fired it lives in world space. In this case, it looks like you would be better off with an animated texture/sprite over a particle effect.

Look at this sample for some code:

BTW: Good job on going through the Unity tutorials!

1 Like