Jump to content

Sign in to follow this  
blastframe

Rigging a Universal Joint

Recommended Posts

Hello,

I'm trying to rig a Universal Joint in Cinema 4D based on some tutorials I found for Blender & Maya:

 

How to Rig a Universal Joint with Blender

How To : Rig a Universal Joint in Maya

 

For some reason, with my version, the Journal Cross is flipping. I think I have the axes correct with my Aim Constraint & Up Vector, but maybe not. Could it be because of an order of priority?

Universal_Joint_Woes.gif.5025e428dce3d1499f88af2889a959e9.gif

 

My scene file is attached. Thank you!

Universal_Joint.c4d

 

Share this post


Link to post

This might be it, or it might not be...

 

joint.c4d

 

constraints confuse me somewhat

Share this post


Link to post

That looks good to me: Thank you!

 

So everything is parented to the inputShaft and the journalCross and outputShaft have upVectors only? I wonder why this solution (which I think works well) is so different from the Maya and Blender ones. Are Cinema 4D's Aim Constraints/UpVectors inherently different? Maybe the Aim/UpV combination is redundant, causing the flip?

 

Thank you again, @jed!

Share this post


Link to post

TBH I just tinkered until it worked.

Share this post


Link to post

Well thank you for doing that.

Share this post


Link to post

and you got a free python speed control ::):

Share this post


Link to post

Hahahahahaha! I saw that! Did you get the idea from the expression in the Maya tutorial or was that on your own?

 

Great work!

Share this post


Link to post

When it comes to things rotating at varying speeds eg helicopter blades, gear rigs etc, most people do it wrong. For fixed speed, just multiplying seconds for rot H or whatever is fine, but if you try and spin the chopper rotor down to stop by adjusting the multiply factor, it tends to go backwards -

 

seconds * 0 = 0

 

so the object goes backwards to its starting position.

 

if you generate rotation by addition eg

 

rotation = rotation at last frame + <small value>

 

adjusting the <small value> varies the speed. In my python there's the shorthand

 

rotation += speed

 

which means add the RHS to the LHS to get a new LHS value. You can do a similar thing with align to spline speed.

Share this post


Link to post

The master! Thanks, @jed!

 

Have a good weekend.

Share this post


Link to post

@cinomadic - I had a go at making my own

 

 

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

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.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...