Moving a constraint and chain together

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

Thread Tools Search this Thread Display Modes
  07 July 2010
[SOLVED] Moving a constraint and chain together

I have gotten myself all confused trying to do this, I thought I would ask for help.

I created a palm tree (to be referenced into another scene) and decided I wanted to have it sway a little. Seemingly simple enough, I built a joint chain (9 or so total) right up the trunk (which is not straight). I created an IK Handle on the whole chain, smooth skinned it and it works properly. Yay.

So I made a nurbs circle for a handle, put it above the tree and used a point constraint from it to the IK Handle. That works, double Yay.

That is, it all worked fine until I referenced it into the scene and tried to move it from 0,0,0. I selected my root joint and moved the tree, the top stayed back underneath the circle. Yup, the circle was still a child of the world.

I have tried numerous ways to fix this (in the original file it is reproducible, the issue is not related to referencing). In my last iteration I have the joint chain and effector in one heirarchy, the tree trunk, fronds, IK Handle and my nurbs circle all grouped as a set.

I would have thought that would cure it. No, I can only manage to move this by selecting both the root joint and the nurbs circle and move them to their new location at the same time (or otherwise the tree top stays back where it started at.

So how would I place the nurbs circle in a hierarchy such that it stayed above the root when I relocate the tree (by moving the root)?

I am not in a panic, because my workaround works, for now. But I know it isn't right because I did something similar in a character by parenting a nurbs circle to a head and constraining each eye to it (an aim constraint was used there). It works as expected, I place it out in front and when the character walks, it moves on. I relocate it to one side, and the eyes follow.

<* Wes *>

I solved this (in my sleep, I think). The solution problem was that my 'root' was a part of the IK chain, when I put the handle into the hierarchy, it makes a sort of loop, where the handle is moved by the root, and the root is rotated by the IK, and that moves the handle and so on.

The simple solution was to rename the root joint, make a new root joint, and parent the old root and the handle to it.
i7 2.8ghz w7pro 8gb quadro 4000 w/270.51 driver, 600 GB SSD C: Drive

Last edited by WesHowe : 07 July 2010 at 02:05 PM. Reason: SOLVED
  07 July 2010
you can use any object you want to do this..

ie this works just as well. Because you are moving everything as a whole. Not that I wrote a tutorial or anything on the subject

There is no one right way to do anything.
Only the un-explored ways. =)
  07 July 2010
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
Thread Closed share thread

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Society of Digital Artists

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump

All times are GMT. The time now is 08:19 PM.

Powered by vBulletin
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.