|
Emilie Freund
Registered User
Join date: 7 Feb 2007
Posts: 3
|
03-29-2009 16:21
Hello I have a problem with a particule of flame for a candle. My actual script have this values : PSYS_SRC_ANGLE_BEGIN, 0.0, PSYS_SRC_ANGLE_END, 0.0, And the flame was on the left of the candle and not on the top of the candle. So i change this value to turn it like this : PSYS_SRC_ANGLE_BEGIN, 0.0, PSYS_SRC_ANGLE_END, 0.0, And there is still a problem, the flame is on the top, perfect ! but on the back too, and that is my problem! Is there someone who can help me because i will become crazy  Thanks a lot, nd i'm wainting for you answer. Emilie
|
|
Rolig Loon
Not as dumb as I look
Join date: 22 Mar 2007
Posts: 2,482
|
03-29-2009 17:52
Particles are emitted from the center of an object, normally along the +Z axis. For a candle, you ought to put the particle script in the wick at the top of the candle, not in the candle itself. That way, you can be sure that the flame is where it is supposed to be, not out the side of the candle. It sounds to me as if you have figured this out, because you said that the flame is now at the top of the candle. When you have started a particle script, the particle generation function itself becomes a property of the prim. The script is not controlling the particles. If you want to remove a particle stream that you started earlier, like the flame coming out the back of the candle, you have to put a new script into the candle. Its llParticleSystem function should simply say llParticleSystem[]; If you have done everything correctly, the flame out the back of the candle should stop, and the one in the candle wick should still be fine because that's a separate particle stream.
|
|
Emilie Freund
Registered User
Join date: 7 Feb 2007
Posts: 3
|
03-29-2009 19:31
oops i made a mistake i change the script like this ; PSYS_SRC_ANGLE_BEGIN, 0.50*PI, PSYS_SRC_ANGLE_END, 0.50*PI,
|