Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Maxon Cinema 4D Animating arrows along a spline

  • Animating arrows along a spline

    Posted by Ron Moore on October 11, 2009 at 3:39 pm

    I’m trying to show the path of gasoline through the valve of a pump and into a gas can, illustrating the flow by a series of 3d arrows along a spline. The path itself is quite long and I’d rather not have to animate each individual arrow, offset by a few keyframes, traveling single file on the path. Is there a way to configure the Emitter Object to fire off one at a time or possibly to duplicate the animation of my initial arrow to form the moving line of arrows? It sounds to me like this is a job for Thinking Particles but I’m just getting started and am not familiar with its workflow as yet.

    Ron Moore replied 16 years, 6 months ago 3 Members · 7 Replies
  • 7 Replies
  • Randy Johnson

    October 11, 2009 at 3:45 pm

    I like mograph for this sort of thing.
    You set the cloner to object, place the spline as the object, then animate the offset. C4dcafe has a tank track tutorial that might be of some assistance.

    TP can also do this nicely too, with a better “flow” feeling. There are also some good tutorials on c4dcafe that explain this very well.

    /Randy

  • Ron Moore

    October 11, 2009 at 5:34 pm

    How I wish I had MoGraph! I guess I’ll jump into Thinking Particles and see if C4dCafe can give me a jump-start. Thanks for the tip.

  • Randy Johnson

    October 11, 2009 at 6:29 pm

    You can use the “Move on Spline” Preset from the content browser.
    Then all you need to do is add an emitter (Pstorm) and a Pshape in xpresso.
    THen you need Particle geometry, null object (emitter) and the shape (your arrow).
    Here is a really quick set up. Click the Pstorm node to get the settings… there are a few attributes to adjust in the “move on spline) null too.
    https://www.randyarchy.com/TPspline.c4d.zip
    Good luck.

    /Randy

  • Ron Moore

    October 11, 2009 at 7:11 pm

    Thanks! I appreciate the help. I’ll let you know how it turns out.

  • Ron Moore

    October 11, 2009 at 9:59 pm

    This is terrific! Now I see that wrapping my mind around Thinking Particles is going to take some concentration. It’s a powerful tool indeed. I was able to get my arrows propelling nicely along the spline but haven’t been able to align the main axis of the arrow to be coincident with the spline itself so it can follow the path without pointing off at an angle. Maybe there’s another setting I’m missing.

  • Matt Gerard

    October 22, 2009 at 1:53 pm

    I needed to do the same thing for airflow in a mower deck, and I found this plugin at the CGSociety.

    https://www.tarabella.it/c4dbeta/plugin_detail.php?Id_plugin=18

    The free version is fantastic, but the paid version is only 44 euros and adds a bucnh of cool stuff to it.

    The only thing is that the arrow spline that you want to animate on the path needs to be at 0 for XYZ coordinates, as you can control where on the path the arrow is by moving the original arrow spline along XY or Z. I had a hard time figuring out why mine wsn’t working, then I zeroed out the coord for the arrow and bam, it worked.

    Let me know if you need an example scene, I can upload one. Definitely worth a look, though.

    Its more fun to ride a slow motorcycle fast than a fast motorcycle slow…

  • Ron Moore

    October 22, 2009 at 7:39 pm

    Thanks, Matt. I’ll check this one out as soon as I get home from work. You know, one problem I’m having with Thinking Particles is if I have two systems in close proximity in the same scene.they interact with each other and the particles stop aligning to their respective paths. Since I couldn’t solve that interaction I was forced to manually animate single shapes along a second spline.

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