Jump to content
waltt

impact data after sim

Recommended Posts

Might be a stupid question, but is there a way to get impactanalysis data from a bgeo sequence?
I created a long sim, client want this exact one, but I didn't add the impactanalysis node to it and now I need to add particles
whenever objects hit the ground..

Not sure if it's possible but maybe you guys know a way. I could add points to the groundplane with an attribute transfer,
and then use those points to spawn particles from, but maybe there's a better option?

 

Share this post


Link to post
Share on other sites

You can use intersect with some distance and find position at primitive where collision happen.

Share this post


Link to post
Share on other sites

That makes more sense then my solution..
Will ttry this. Thank you!!

Share this post


Link to post
Share on other sites

Another problem surfaces.. with the intersection analysis I create points, but i want these to dissapear after 1 second, otherwise the particles will keep spawning from these points..
I initially solved this with the particle sop, by setting a life expectance and turning on 'don't reuse points', but this also stops newer particles to spawn from later collisions.

Adding age to points and deleting points based on age doesn't seem to be an easy task..
I attached my test file.

 

 

particles_from_intersection3.hiplc

Share this post


Link to post
Share on other sites

Got it working by creating an age attribute and increasing the value of age every frame with a sop solver.
Post by mart1jn in this thread helped alot. Thanks!

 

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

×