SimplyMaya Forums

Welcome to the forum, feel free to ask questions here.

Home / forum / Lounges / Maya Basics & Newbie Lounge / Orient constraint a bone.
Register FAQ Members List Calendar Mark Forums Read

New Thread
 
Thread Tools
Old 14-12-2003, 02:06 PM   #1
contrast
Registered User
 
contrast's Avatar
 
Join Date: Mar 2003
Location: Central Florida
Posts: 102
Thanks: 0
Thanked 0 Times in 0 Posts
Default Orient constraint a bone.

I know how orient constraint works for the most part but what I am trying to do is I have the joints of a hand and I have a cone that I want to use to orient constrain the hand to, so the hand follows the orientation of the cone. I have my hand skinned and in it's bind pose. I also have the cone in the position I want. Basically the cone lies in the palm of the hand, where objects would be held. The only problem is that when I orient constrain the joint to the cone the joint rotates to match the cone (good) and it is no longer in the correct pose (bad).

What I want is for the joint to already be orientated to the cone before I apply the constraint so nothing moves out of place. How do I go about changing the local rotation of the joint to a precise value, and how do I find out what that value should be? I can eyeball it but it is not exact, I would like to learn how to make it exact. Oh, also I froze the transforms of the cone so it's axis is in the default position. The image below might help explain this a bit. Thanks a lot.
Attached Thumbnails
Click image for larger version

Name:	orient montage.jpg
Views:	485
Size:	85.8 KB
ID:	12089  
contrast is offline   Reply With Quote
Old 14-12-2003, 07:26 PM   #2
contrast
Registered User
 
contrast's Avatar
 
Join Date: Mar 2003
Location: Central Florida
Posts: 102
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I figured out how to do it. Here's how:

1. I had to group the cone to an object I don't care about, such as a null object.

2. I then took this null object, orient constrained it to the joint so it lined up with the joint.

3. I then wrote down the rotational values that the joint caused the null object to rotate.

4. I unconstrained the null object from the joint.

5. Then I rotated the null object the same number of degrees the joint caused it to rotate when it was constrained.

6. Then I orient constrained the joint to the null object, this caused the joint to be constrained but it did not have to rotate to get to the correct orientation.

7. Then I took my cone and made it the parent of the null object, so when I rotate the cone the joint moves as well.
contrast is offline   Reply With Quote
New Thread

« Previous Thread | Next Thread »

Thread Tools

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

1 Month

$34

Month-to-month billing
$34/month
Unlimited access to all videos
Project files to download
Easy to cancel at anytime
 
 

3 months

$87

Billing every 3 months
$29/month
Unlimited access to all videos
Project files to download
Easy to cancel at anytime
Save $5 per month or $15 in total compared to monthly billing with this package.

12 months

$288

Billing every 12 months
$24/month
Unlimited access to all videos
Project files to download
Easy to cancel at anytime
Save $10 per month or $120 in total compared to monthly billing with this package.

Your plan will automatically renew. You can cancel at any time via your PayPal account to avoid being charged again.

You can view the FAQ on our video plans here. You can contact us directly here. By clicking one of the buttons above, you agree to our Terms and Privacy Policy.