Jump to content

Parent local axis constraint?


Tronotrond

Recommended Posts

Hi,

I'm currently rigging the internals of a traditional engine, and I'm a bit stuck.

I have the main crank rotating, the connecting rod attached with a look-at constraint towards the piston. The piston only moves up and down in the Y-axis. So far I've done a Parent Blend constraint from the Piston to the connecting rod, masking everything but TY. But it's using world Y axis. If I go and rotate the engine at the object level, the rig breaks. The piston does not translate to the new local Y axis. I'm very new to Houdini rigging, so I'm just wondering either how I can set it to use local axis constraints, or what other ways I can/should solve this?

Thanks!

Edited by Tronotrond
Link to comment
Share on other sites

And no.. I thought it was fixed, but it wasn't..

I recreated my setup in a simplified scene. Would any experts mind taking a look? I would be forever grateful :)
I should think this is a very simple setup, but I'm definitively having some problems wrapping my head around CHOPS still. The rig is fine as long as the "engine object" itself is not rotated in any way. But once rotated things explode. I believe my problem is that I cannot link the piston to the piston arm directly without getting a dependency loop from the LookAt constraint. And then in CHOPS having the piston itself just follow the Local Y-axis of the piston arm. Works fine in world space, but once things are rotated things are not so happy anymore..

camshaft.PNG

engine_rig.hip

Link to comment
Share on other sites

  • 2 years later...
2 hours ago, Paulx3d said:

Hi @Tronotrond! I face the same issue as you. Do you managed to solve it ? and how ? 

Back then I did unfortunately not. I worked around it by avoiding rotating the model.
Now that I'm a little older and hopefully a tiny bit wiser, I'm thinking you might have to reference and do some matrix multiplication of the object base rotation to make it work, but on top of my head I don't know how :)

Link to comment
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.

×
×
  • Create New...