Integrating 3D models with photography
Interested in integrating your 3D work with the real world? This might help
# 1 13-03-2008 , 06:13 AM
Registered User
Join Date: Apr 2006
Posts: 6

Rotating a Hinge Constraint

I created a hinge constraint between 2 rigid bodies and I can't rotate the hinge axis of the constraint properly. Each body is a group of primitives. Here is what I've done:

-created 2 polygon primitives;
-grouped them (edit->group) under "group1";
-created another 2 polygon primitives;
-group them (edit->group) under "group2";
-selecting group1 I created active rigidBody1;
-selecting group2 I created active rigidBody2;
-selecting group1 and group2, created a hinge constraint;

The problem is that I can't rotate the axis of the hinge in world coordinates. Whenever I move the constraint or try to rotate it, the hinge axis move very strangely all over the place, not following the world axes. What can I do?
(I have Maya 7.0).

Thanks for your time.

# 2 13-03-2008 , 10:04 PM
alexanderH's Avatar
Subscriber
Join Date: Sep 2007
Location: Mississauga, Ontario, Canada
Posts: 450
have you deleted history, and frozen the transformations of the objects and the groups?
and when you constrained them where was the pivot point for each object/group you are trying to move? All of these things are KEY to getting constraints done properly.


Peace, love and Anarchy~~~~~~~
______________________________
Wip:
iMac
Full House Project
Arch Viz Reel

My Website is Finally Back up!

“Welcome to the Internet. Where the men are men, the women are men, and the children are FBI agents.”
# 3 16-03-2008 , 03:15 PM
Registered User
Join Date: Apr 2006
Posts: 6
Thanks for replying. I tried what you suggested:

-deleted history before making the constraint;
-froze transformations;
-then created the hinge joint;
The pivots are in the centers of the rigid bodies.

The problem is that I can't control properly the green axis of the hinge constraint that is displayed, although I see that the constraint transformations seem ok in the attribute window... what does the green axis represent? because I see that it's not a representation of the constraint transforms. Sorry for the questions, I just started trying out things in Maya.

Posting Rules Forum Rules
You may not post new threads | You may not post replies | You may not post attachments | You may not edit your posts | BB code is On | Smilies are On | [IMG] code is On | HTML code is Off

Similar Threads