Jump to content
Jaeger

Velocity and emission of particles based on the movement of a Rubik's cube

Recommended Posts

Hello everyone.

 

I'm trying to emit particles from a rubik's cube which are solving himself. The problem is it doesn't look appealing because the emission is everywhere and without variations. I would like to emit the sparks only when the cube is rotating and only on the side of the rotation. Do you have an idea on how I could achieve this ?

rubikSparks_01.hip

Share this post


Link to post
Share on other sites

Hello Gaël!

Really interesting setup!

About the particles emission, I think you should look inside the "Debris Source" SOP node. With small modifications I think it will do the work!

Cheers,

Marco

Share this post


Link to post
Share on other sites

Hello Marco, thanks for your answer ! 

 

I tried your solution but couldn't manage the Debris Source node. So I digged and finally it was easier than I thought.

Just had to create a trail to compute the v then do a wrangle with @speed = length(v@v); then in a group expression create a new group with @speed > 1 and a null. And just source this in the POP Source with the source group matching. 

 

Hope this solution can help !

  • Like 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

×