Jump to content

Split particles on collision frame only


thomwickes

Recommended Posts

Hey I'm trying to split particles on collision but only on the frame they collide on - the only way I can do this now is by killing the original particle, or by turning off 'preserve group' for the collision group that the split pop sources from. I need preserve group checked on as I'm using the collided particles elsewhere in my scene.

Is there a simple expression that I could put in the activation of the split pop that just emits on the actual frame of impact?

Edited by thomwickes
Link to comment
Share on other sites

Hey I'm trying to split particles on collision but only on the frame they collide on - the only way I can do this now is by killing the original particle, or by turning off 'preserve group' for the collision group that the split pop sources from.

Is there a simple expression that I could put in the activation of the split pop that just emits on the actual frame of impact?

You can set the first collision behavior as "Die on Collision" and at the same time you create a collision group by entering a name in the Collision Group field (leave the "preserve group" option unchecked).

Place a Split POP and set the Source Group as the collision group you created and you're set! :)

Cheers

Link to comment
Share on other sites

You can set the first collision behavior as "Die on Collision" and at the same time you create a collision group by entering a name in the Collision Group field (leave the "preserve group" option unchecked).

Place a Split POP and set the Source Group as the collision group you created and you're set! :)

Cheers

Thanks but I need to do this without killing the original particle as I'm using the collision attributes (num hit, hit id, hit time, etc) from the original particle elsewhere in my scene.

Link to comment
Share on other sites

Will setting a collision group and collision event on the collide POP to be referenced in the split POP like in the attached file accomplish what you are after?

Ah not quite - I'd already tried this. I need 'preserve group' checked on as I use the collided particles elsewhere

edit: just realised i'd not made this clear in the OP. I've just updated it

Edited by thomwickes
Link to comment
Share on other sites

Ok, I worked it out. I created a group just above my split with the rule "$JUSTHIT == 1"

I then used this group to split from. This will only emit particles as they collide as the $JUSTHIT variable is cleared at the beginning of each timestep

You could also have used that same setup I talked about just change the collision behavior to "Continue on course".

Cheers

Edited by rafaelfs
Link to comment
Share on other sites

Ah not quite - I'd already tried this. I need 'preserve group' checked on as I use the collided particles elsewhere

edit: just realised i'd not made this clear in the OP. I've just updated it

No problem, glad to hear you hit upon a solution

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...