How to Make Objects Stick Together
Posted: 02 February 2018 02:30 PM   [ Ignore ]  
Total Posts:  5
Joined  2017-11-07

Hi Everyone,

I am relatively new C4D user, and I am stuck on what I think should be a simple problem.  I have a fracture object (created with Thrausi) that mimics cracked rock.  I want blue spheres to rain down on the fracture object and flow through its cracks.  In those cracks I plan to place red spheres.  I would like the blue spheres to stick to the red spheres when they collide.  This animation is to illustrate chemical reactions that take place in shallow soil. 

So far, I have tried two methods to no avail.  I have created a cloner with soft body dynamics that is then linked to an emitter.  This works great for getting the blue spheres to flow through the cracks in the fracture object.  I can’t, however, seem to get the blue spheres to then stick to the red spheres when they collide.

I have found numerous tutorials that suggest that this should be done through Thinking Particles.  But when I set up a Thinking Particles emitter, I can’t get the TPs to flow through the cracks of the fracture object.

Thanks for any help you can provide!

Profile
 
 
Posted: 02 February 2018 03:28 PM   [ Ignore ]   [ # 1 ]  
Moderator
Avatar
Total Posts:  4951
Joined  2011-03-03

Hi rsths13,

Please have a look if that file works for you. You might rotate the view, to get a better idea where the particles are inside the fracture object.

Scene file
https://www.amazon.com/clouddrive/share/kXjFnP1aD1hP6omyNoDauSK8raDbyRk41EpvUEnieec

How did the red spheres receive their positions? If those could have a Tracer (path/spline), that could work then as guide to deliver the blue ones.

All the best

 Signature 

Dr. Sassi V. Sassmannshausen Ph.D.

Photography For C4D Artists: 200 Free Tutorials: Texture, Panorama, HDRI, Camera Projection, etc.
https://www.youtube.com/user/DrSassiLA/playlists

Profile
 
 
Posted: 02 February 2018 04:04 PM   [ Ignore ]   [ # 2 ]  
Total Posts:  5
Joined  2017-11-07

Hi Dr. Stassi!

Thank you for your help!  I made one mistake in that I didn’t mention that the version my school has is R17. I copied your thinking particles into my file, but the particles won’t deflect off the fracture object. They just fall straight through.  I have attached my file for your reference.

https://drive.google.com/open?id=1kpSPRHJdH1fg630e1drZivMjN-SOzel2

Profile
 
 
Posted: 02 February 2018 06:26 PM   [ Ignore ]   [ # 3 ]  
Moderator
Avatar
Total Posts:  4951
Joined  2011-03-03

Thanks for the file, rsths13.

The “PDeflector” needs polygons, not generated objects. The Fracture Object is a Generator, and even a polygon is used as child/clone, it will not work.

Please have first a look at this clip (one minute), it might help to communicate the process faster.

Clip: one minute, you might download it for a better viewing experience
https://www.amazon.com/clouddrive/share/UMR2p7JRqTlAZnfteKptLHF3jJqRh88hbuZAXDAUEEX

The idea is to use the red objects to place the blue objects (rain). I use here a Polygon-Selection to limit the amount, which is an option, not a mandatory step.

When the blue objects are placed, they become dynamic objects, and with the inverse gravity they flight up.
While the cubes (stone/soil placeholder) and the red objects are colliders, the blue objects will bounce until they move out.

This movement is “recorded” by the Tracer and result in a multi segment Spline.
This spline object can be used to move the blue objects from top to bottom to the red objects and they find their position “naturally”.

Since everything is now based on the spline, the animation is now fast and can be art directed by just editing parts of the spline.

I hope that is the fastest and most stable way.

Start and end scene file:
https://www.amazon.com/clouddrive/share/FqlBojxya2xCNc4XrFevb0ewxeiXLPsSDIzVmNv1tqr

Please note, that I have replaced the red object with a polygon, to speed up the clip. The position of these were found via dynamic, Collider (static mesh) for the cubes and Rigid (ellipsoid shape) for the red objects.

To avoid the “all land at the same time” , perhaps split the solution up in several Cloner. E.g., Mesh>Spline>Explode Segments,  the Spline and create a few Spline groups - Object Manager>Object> Connect Objects and Delete.

I have done this here. Note that I set up one Cloner completely, then copied it, and replaced the splines in the field. Since the naming was based on that idea, as in Cloner.1 to Spline.1, it was quick. Then I clicked on each Cloner once, to move the key frame elsewhere, to get a variety.

Scene file:
https://www.amazon.com/clouddrive/share/V8Z93p3VrjiNYg0X7Yxo5dLuuu8DpX1ffvsYvEVq0ii

My best wishes for the project

 Signature 

Dr. Sassi V. Sassmannshausen Ph.D.

Photography For C4D Artists: 200 Free Tutorials: Texture, Panorama, HDRI, Camera Projection, etc.
https://www.youtube.com/user/DrSassiLA/playlists

Profile
 
 
Posted: 04 February 2018 10:56 AM   [ Ignore ]   [ # 4 ]  
Moderator
Avatar
Total Posts:  4951
Joined  2011-03-03

P.S.:

Another option is to give each of the “red” objects an Attractor. Since these forces can’t be a clone (clones are kind of functionless copies).

There are more ways to distribute them, e.g., via XPresso, but even the Fracture works nicely with a Inheritance Effector. Note that the Falloff seems to be not updated in position, but that is easily to check with a short Cmd-c (made editable and cmd-z to get back.

Scene file and one minute overview clip:
https://www.amazon.com/clouddrive/share/tuM1KdbdGwQi5of6FMOJyCDljUpZ4CfrrnIcJwdA7DF

… please have a look at this file as well, it is cached. Note that I changed also the Project>Dynamic Settings.

Scene file
https://www.amazon.com/clouddrive/share/kc9NY8GpMuoacNlqJWU9Z1CMi8PCwHkPZaQmmfe7FEG

All the best

 Signature 

Dr. Sassi V. Sassmannshausen Ph.D.

Photography For C4D Artists: 200 Free Tutorials: Texture, Panorama, HDRI, Camera Projection, etc.
https://www.youtube.com/user/DrSassiLA/playlists

Profile
 
 
Posted: 05 February 2018 04:31 PM   [ Ignore ]   [ # 5 ]  
Total Posts:  5
Joined  2017-11-07

Hi Dr. Stassi,

I wanted to say thank you for all this information!  I had a busy weekend, but I will be diving back into this over the next few days.  I will look at everything you posted, and I hope to get it working.

Thank you again!

Profile
 
 
Posted: 05 February 2018 05:03 PM   [ Ignore ]   [ # 6 ]  
Moderator
Avatar
Total Posts:  4951
Joined  2011-03-03

You’re very welcome, rsths13!

Please let me know if you have any question, as usual: I’m happy to look into it.

Cheers

 Signature 

Dr. Sassi V. Sassmannshausen Ph.D.

Photography For C4D Artists: 200 Free Tutorials: Texture, Panorama, HDRI, Camera Projection, etc.
https://www.youtube.com/user/DrSassiLA/playlists

Profile