PDA

View Full Version : Help for animation expression


Nicool
08-20-2002, 03:29 PM
Hello,
I'm working on a little expresion for animation. I don't realy understand the Maxscript Syntax (I'd prefer Melscript). So the system I want will makes emit a Blizzard (paticules) following a simple Sin(X) variation. (See graph). I want to create it by a script in the Global Tracks

The system:
x=sin(sliderTime)
If x > 0.25 (in the green) then
blizzard.Start_Emit = sliderTime (Round)
blizzard.Stop_Emit = Start_Emit + 10 (circle)

I need this script work always during the animation.

Here what I've stupidly done:
varations = sin(sliderTime*10)/3
if (varations > 0.25) then
($fumee.Emitter_Start = sliderTime)
($fumee.Emitter_Stop = (fumee.Emitter_Start + 10))

Help me please!!

Thanks:scream:

samhodge
08-21-2002, 12:52 AM
Here what I've stupidly done:
varations = sin(sliderTime*10)/3
if (varations > 0.25) then
($fumee.Emitter_Start = sliderTime)
($fumee.Emitter_Stop = (fumee.Emitter_Start + 10))


you problem is this for the entire time that varation is greater than 0.25 the start and stop times are being changed

it is not an event that happens at one distinct time

also each paricle system can only have one start and end time so for each puff of smoke you will need a new emmitter.

could you animate the number of particles being produced and just use one emmitter?

CGTalk Moderation
01-13-2006, 02:00 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.