Expressions

   2768   3   1
User Avatar
Member
16 posts
Joined: 6月 2011
オフライン
Hi all,

Trying to join some expressions to start and stop a particle system but not sure what to use where, this is what i have so far….

$F > 250 & %2 == 1 $F > 300 == 0

Basically want the system to start at frame 250 and end at 300 but only work every 2nd frame. Checked the textport with exhelp but nothing coming up for joining expressions maybe brackets…

Cheers
User Avatar
Member
300 posts
Joined: 1月 2010
オフライン
You could just keyframe the birthrate.

If you wan't to use expressions this
if($F>=250 && $F<=300 && ($F%2==0),1.0,0.0)
works.

I use it for the Const Activation.

Attachments:
particlebirth.hip (56.6 KB)

Drive, monkey, drive!
User Avatar
Member
16 posts
Joined: 6月 2011
オフライン
Thats what i was going for, needed the if statement/brackets.

Cheers
User Avatar
Member
9469 posts
Joined: 7月 2007
オフライン
you don't need if, just the correct logical operators
it should work just like this:
$F>=250 && $F<=300 && ($F%2==0)
Tomas Slancik
CG Supervisor
Framestore, NY
  • Quick Links