Maya Training

Introduction to Hard Surface Modeling

Maya Training

Interiors and Furniture Vol 1 & 2 - Modeling & Cloth

Maya Training

Shading, Lighting and Rendering the Bedroom in MR

Maya Training

Robot volume one - Modeling with animation in mind

Maya Training

Spach-Alspaugh House the complete courseware

Maya Training

Burt The Cartoon Dinosaur Vol 01 - Modeling

New Maya Training

Robot Volume 02 - Hybrid Rigging
You are here > Home > SimplyMaya Community Forums
Loading

Welcome to Simply Maya

Please Sign in or Sign up for an account

Member Login

Lost your password?

Not a member yet? Sign Up!

Old 14-12-2003, 03: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
 
contrast is offline   Reply With Quote
Old 14-12-2003, 08: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

A little bit about who we are
Links you might find useful
Catch up with SimplyMaya
SimplyMaya specialises in Maya tutorials. We offer over 1,000 individual Maya training videos, ranging from basic Maya tutorials through to intermediate Maya tutorials. Our tutorials are created by instructors with industry experience and are designed to get you up and running in Maya quickly without making it seem like hard work.

Copyright © 1999-2015 SimplyMaya - vBulletin® Copyright © 2000-2015, Jelsoft Enterprises Ltd.