I have a ship that rotates and moves along its z axis with an ellipsoid emitter attached as a child. The emitter rotates as the ship does, and spews out particles along its Local Axis z value, when the ship is stationary, however when the ship is in motion the particles follow the ship's velocity vector (ie local z) rather than its current rotation about the y axis. This leads to the ship facing in one direction and its particle stream following its movement along another instead. I find this odd, since the emitter's z axis must be rotating about y to match that of the ship when the ship is still.
So, why is it doing this, and how can I make my emitter's local z axis (or whatever it uses for the Local Velocity z axis value) match that of the ship's at all times?
asked Jun 02 '10 at 12:43 AM
The best way is to make the particle emitter a child of the ship, so then it will follow constantly and alway be in the correct position. You should also set the emitter to simulate in world space so that when the space ship turns the particles far from the ship don't turn with the ship.
There is a section in the 3D Platforming Tutorial on how to set this kind of system properly if you're interested in more details. It's in the first half of the tutorial, so shouldn't be difficult to find, just look for the section on setting up Lerpz's jetpack.
answered Jun 02 '10 at 01:05 AM