Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Maxon Cinema 4D Sand Trails in C4D

  • Sand Trails in C4D

    Posted by Joanpablo Torres on January 1, 2018 at 4:26 pm

    C4D R17 Scene

    So I have a plane as my floor with a collision tag

    Several Spheres using Mograph and a Rigid tag so they interact with one another

    A animated sphere with an Attractor tag so all the other spheres follow it around the scene.

    What I’m trying to achieve though is when the spheres collide with the floor (sand texture) they make a trail. Currently they make an indentation (which is good) but once they move, there are no physical trails, just indents that follow the sphere around.

    Any ideas to have the trails remain?

    Kouraib Abdmalek
    replied 2 years, 5 months ago
    5 Members · 7 Replies
  • 7 Replies
  • Brian Jones

    January 2, 2018 at 4:57 am

    how are the dents in the floor currently being made? What’s the floor (a plane or a Floor (or something else))?

  • Joanpablo Torres

    January 2, 2018 at 10:01 pm

    2nd line of my post

    Plane with a collision tag

  • Marc Fovargues

    January 31, 2018 at 12:43 pm

    After having a quick look this is what I did.

    1. Add a Plane object underneath your sand plane and offset it on negative Y but, not beyond the depth of your spheres so they still show.
    2. Apply a Static Rigid Body tag to this new plane and remove it from your sand plane if there is one, and make sure the Collision Deformer is applied to your sand plane. Collision Deformer will do the work.
    3. The sand plane will need 100-200 (maybe more) subdivisions to look convincing but you can cache the result in the Collision Deformer.
    4. In the Collision Deformer Object tab set the Falloff to Surface (Collider is best but much slower at computing result) and Restore Shape to 0% (Play with this for the effect you want).
    5. On the Collider tab set it to Outside (worked for me, again play with the options).

    Your spheres should now leave trails as they roll about 🙂

  • Dovlet Ov

    November 28, 2023 at 5:06 pm

    Hello.

    I was after the same effect and got close to it BUT no matter what I do the objects simply “sink” into the surface. I played with Object Falloff and Collision solvers, the same unrealistic result. I increased the object segments -nothing. Anywhere else I could look at?

  • Kouraib Abdmalek

    November 29, 2023 at 9:12 am

    Hi Dovlet,

    I simulated this, as in the attached file, and it did not happen that the balls sank in the sand. You just have to change the “restore shape” value in the “object” tab to 0% and slightly raise the “size” and “step” values in the “advanced” tab. I saw that you are using “clothe surface”. If you do not need it, you can delete it, as it may be the cause of the problem.

    I think that it is better to open a new topic when you have another subject to make it easier later for forum visitors to benefit from it through the search feature.

    I hope this helps you.

    Thanks!

  • Dovlet Ov

    December 8, 2023 at 4:17 pm

    Thank you so much!

  • Kouraib Abdmalek

    December 9, 2023 at 8:50 am

    You’re welcome! so glad this was helpful to you.

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy