Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

So, I'm using the legacy particle "small flames". Basically what I want it to do is always emit below the ship, so when the ship turns and such it still looks like the thrusters are firing.

I know adjusting the World Velocity Y can adjust what direction the particles throw, but what I'm wondering is how do I always get what direction the back of the ship is facing, so I know what direction to emit the particles in? It doesn't have to use World Velocity, it could use rotation or some such, I just can't figure this out.

share|improve this question
1  
Can't you just put the particle effect as a child of the game object? –  Tetrad Apr 18 '12 at 19:44
    
Already did, but that has no effect. –  Timothy Williams Apr 18 '12 at 20:02
    
Do you have "simulate in world space" turned on? Maybe turn that off? –  Tetrad Apr 18 '12 at 20:19
    
Ahh, if I turn that off and adjust a few settings I can get it to display correctly. Thanks!! –  Timothy Williams Apr 18 '12 at 20:36

1 Answer 1

up vote 2 down vote accepted

As we talked about in the comments, turning off "simulate in world space" will likely fix the issue.

http://unity3d.com/support/documentation/Components/class-EllipsoidParticleEmitter.html

share|improve this answer
    
One odd problem I ran in to though, when I change the .emit or .maxEnergy variables too much, the emitter destroys itself! Like, if I have it set so that when I press up thruster.emit = true; and when I release up thruster.emit = false, when I press and release the up arrow 3 times the emitter completely destroys itself, not just the component but the whole object. –  Timothy Williams Apr 19 '12 at 0:45
    
Check in the particleAnimator that your "Autodestruct"-boolean is not true. –  Esa Apr 20 '12 at 5:13
    
Ahh, thank you so much Esa! That's exactly what the problem was. Thanks for all the help you two. –  Timothy Williams Apr 23 '12 at 20:04

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.