Jump to content
Sign in to follow this  
yujiyuji

Pop source

Recommended Posts

What Expression should I enter in Const Activation to birth  points between frames 30 and 40?

I attached picture to here.
Please confirm it.sample5.PNG.b85eb917694ce2d798c0c36e7948fced.PNG

Share this post


Link to post
Share on other sites

Hi there !

Let's break it down a bit, and start just by emitting particles from frame 30
To do that, we can use a comparison with the current frame
"Is the current frame above 30"

So this is really simple ↓

@Frame >= 30 // The equal to make sure that it is true as soon as frame 30 is reached

This will evaluate as 0 before frame 30, then 1 at the frame 30 and after.

For emitting below frame 40, the logic is the same, with the comparison sign changing direction

@Frame <= 40

But you want above frame 30 and below frame 40

There is an "and" for this, the double ampersand → &&
So those two separate expressions becomes

@Frame >= 30 && @Frame <= 40

activationExpression.thumb.gif.9c48bc7ef9db2d0b4471c6eee984cc5d.gif

Hope that helps !

  • Thanks 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×