Collision POP: "switch" particles from stick to sl

   4573   5   2
User Avatar
Member
10 posts
Joined: 12月 2006
Offline
Heya -

(Apologies if this has been asked before)

Using a collision POP, how would I “switch” particles from stick to
slide, so after a certain time particles that were stuck, start sliding
off the mesh?

Thanks -
User Avatar
Member
2624 posts
Joined: 8月 2006
Offline
You could use an if statement based on $LIFE ie if($LIFE<1 , 1 , 0)

rob
Gone fishing
User Avatar
Member
10 posts
Joined: 12月 2006
Offline
You could use an if statement based on $LIFE ie if($LIFE<1 , 1 , 0)
Where would I put that conditional tho? I am assuming that 1 would be $STUCK and 0 is $SLIDE?
User Avatar
Member
10 posts
Joined: 12月 2006
Offline
I “solved” this with a hack where I split the stuck particles based on $AGE, and then collide-slide those newly split particles - but I would still be interested in finding out how to do this with the expression suggested above.
User Avatar
Member
257 posts
Joined: 11月 2007
Offline
Hi Kevin,

The main control over this is in the “state” pop where you can change the states.
Various ways of affecting it in this scene file (the switch shows different trigger mechanisms):

Attachments:
stick_slide_pops_01.hip (78.0 KB)

Cg Supervisor | Effects Supervisor | Expert Technical Artist at Infinity Ward
https://www.linkedin.com/in/peter-claes-10a4854/ [www.linkedin.com]
User Avatar
Member
10 posts
Joined: 12月 2006
Offline
The main control over this is in the “state”
Works like a charm. Thanks!
  • Quick Links