ralphymeijer
Hi All,

I'm new here and new to SOUP. The last weeks I dove into the example files and slowly start to understand the workflow of soup. I think it's great these tools are free for us to use! One example I don't really understand yet is the collision detection scene, rdbCollionDetection.ma to be precise. I've been looking at it for hours now and I just don't seem to understand how it works under the hood. I tried looking for information on all the nodes used in the scene and although I understand what all the individual nodes are doing, I just can't connect the dots. I want to use it to emit particles from a nCloth collision. 

Would someone like to explain the concept of the scene file so I know how to hook it up in other occassions. I just don't know where to start. 

It would be highly appreciated!

Thanks,

Ralph
Reply 0 0
pshipkov
It is simple and clever trick.

Take a look at the runtime expression of the particles.
The set the creation one to 0.1.
Play the first frame - you will get it :)

Also, attaching you the same scene but optimized - removed geoConnection and arrayToCurve nodes. They are unnecessary. It will make it easier for you to fallow things.
Reply 0 0
ralphymeijer
Hey thanks!

I get it now. Basically a simple trick of show and hide. Thanks for the new scene file. Easy to understand now. The next thing would be to emit secondary particles at the location of the displayed particles. I consider this a good exercise for myself to figure this out. If I don't figure it out you will probably see me back here :).

Thanks for your time!

Ralph
Reply 0 0
ralphymeijer
So I got it working for the most part. There's probably a better way to do this so please say if so :) One thing that's missing is when the nCloth bounces a couple of times the ground particles should stop emitting. So I tried connecting a computeVelocity to the geo with a expression. This kinda works, but obviously it calculates the entire mesh. So it works for one object but for multiple it doesn't. 

So what I was wondering if this is possible at all and what am I missing here.




Again, any help is highly appreciated!

Thanks!

Ralph


Reply 0 0
pshipkov
You are on the right path. I cannot think right now of another approach.
Reply 0 0
Reply