Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Forums Maxon Cinema 4D Shoot an object out of an emitter and have it stick to another object

  • Shoot an object out of an emitter and have it stick to another object

     Peter Bentley updated 1 week, 2 days ago 1 Member · 2 Posts
  • Peter Bentley

    May 3, 2021 at 10:44 pm

    I want to create a scene that has many thousands of simple objects (probably small spheres or cubes) stuck to other invisible objects. I’ve spent the last few hours googling and I think the solution to my problem might lie in thinking particles, but I can’t figure out how to do what I’m trying to do. More specifically, I think I want to:<div>

    • Create an emitter that shoots particles out in a straight line while rotating around its own axis. I can do this right now with pStorm and a null object connected through xpresso.
    • Have the particles that get shot out actually stick (with zero vibration) to the object that each one of them collides with in exactly the same place where they collide.
    • Attach some small geometry (a plane, cube, or sphere) to the stuck particle.

    Can anyone point me in the right direction and/or give me specific ideas of what to try? Thanks in advance.

    </div>

  • Peter Bentley

    May 4, 2021 at 4:52 pm

    I figured it out. Here are the steps I was missing (sharing for posterity):

    1. Create a P Pass node in xpresso
    2. Create a PDeflector node in xpresso
    3. Hook them up
    4. Make a cube
    5. Make it editable
    6. Drag it onto the PDeflector node in xpresso
    7. On the deflector node, set bounce to zero
Viewing 1 - 2 of 2 posts

Log in to reply.

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