Jump to content

Recommended Posts

Hello, 

I'm new to the forum, so first a big hello to all. I'm using c4d R19 student edition for this question....

What I'm doing: I'm animating points on a cylindrical sweep, this was done by using a joint tool on a spline and creating handles (nulls) for each joint/point (method is here ). This way I can animate the nulls and the sweep stays live (not editable). It all works well. I've put a cap (arrowhead) in the null at the end of the spline/sweep, which looks great when vertical (top left image) but when the null (spline handle) is moved (straight across with no rotation) the joint/angle of sweep rotates and the arrowhead stays vertical (top right image).

 

The bottom images shows what I'm trying to do, but have faked in photoshop. Does anyone know of a way to align the arrowhead with points, polys or edges so that the arrowhead will stay in line (perpendicular) to the cylinder? For animation purposes the sweep has to stay a sweep (can't make it an editable object).

 

Maybe I'm doing this all wrong and should be using another method entirely? 

 

Any help would be greatly appreciated. Thanks in advance!

arrow3D.jpg

Share this post


Link to post
Share on other sites

Hi and :welcome: to the Cafe

 

Would be easier if you posted a scene file, however you can always use spline tangent data for orientation. Check this example :)

 

 

tangent.c4d

  • Like 2

Free C4D trainings from MAXON professional on our youtube channel

 

https://www.youtube.com/c4dcafe

Share this post


Link to post
Share on other sites

Here's a method using Align to Spline.  With such sharp turns, you're bound to get some ugly popping when the arrowhead passes them.  I set up an example which sort of helps with this problem using a Delay Effector in Blend mode to smooth out the rotation.

tangent- with Align to Spline.c4d

  • Like 1

Share this post


Link to post
Share on other sites

Thank you both for responding to my question, much appreciated. I'm going to takeHrvoje up on his suggestion and post a file that shows what I'm trying to do.

 

To clarify better, the spline I'm animating isn't growing, its just moving around (wiggling) on a plane (2 dimensions). The spline points are the nulls, and moving them (hopefully in a random motion setup) will animate the spline. It's also set up this way because I want the polys to be a fixed number as I'm going to assign a different material to different poly groups and don't want the number of polys to grow/change. All of this will be subd'd and corners will be smoothed.

 

The problem is that the top two points (nulls) determine the trajectory of the sweep, and this is what I want the cone (arrowhead) to dynamically follow, or stay aligned to. I'm wondering if I can set up 'dummy' geometry  on the surface of the sweep, link the cone to the sweep surface, or make a guide line between the points that the cone can align to (or be perpendicular to). Other ideas?

 

If there are any ideas how to do this please let me know, I'm stumped. Thanks!

Arrow.c4d

Share this post


Link to post
Share on other sites

This should work (see attached).  I'm a little concerned about your idea of dropping it into an SDS and hoping it looks good.  My results were not great:

image.thumb.png.451b7e905fab7ffa6abbb758054ac557.png

 

I suggest adding some intermediate points in your spline, then using a mask (gradient with Step interpolation) to select your 3 different areas for different materials:
image.thumb.png.0d2d4281b2928b8514a19752b15cf207.png

Arrow v2.c4d

  • Awesome 1

Share this post


Link to post
Share on other sites

Thanks so much natevplas, this is exactly what I'm trying to do! I didn't know it was as easy as aligning to spline, I guess I was making it harder than it needed to be. I really appreciate the extra suggestions for making it look smoother, thanksyou!!!  And thank you all for your input!!!

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    No registered users viewing this page.

YOUTUBE CHANNEL:

ABOUT US:

C4D Cafe is the largest CINEMA 4D community. We provide facilities for discussion, showcasing and learning our favorite software :) Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, get your own private messenger, post status updates, manage your profile and much more. If you need to find solution to your problem or otherwise ask for help, Cafe is the right place.
×
×
  • Create New...