View Full Version : constrain button on shirt!
03-04-2003, 05:01 PM
In Maya, How can I constrain the position of a geometry (polygone) onto a Cv point of another geometry(polygone).
Example: I want to constrain a button (obj) on the cv of a shirt so when i animated the shirt with bones, the buttons follow!
Can you point constrain from component to object?
or is there a node I can use?
anything please, thanks!
03-04-2003, 08:10 PM
one thing that i have done is this, (artist method, nt td method)
select the vert/cv where you want the button....
then go into the dynamics menus.....
Particles > Emit form Object....
that makes the emitter node "Stick" on the vert/cv ....
now all you have to do is make a button with a centerpivot where behind the button and point constrain to the emmiter and tangent constrain to the shirt...
hope that helps.. :)
03-04-2003, 10:32 PM
Very Cool, never thaught of that tanks.
But I ask my boss/professor today and here is his solution...
in the Expression editor type:
float $pt = `clothes.vtx`;
Button.translateX = $pt;
Button.translateY = $pt;
Button.translateZ = $pt;
It looks to work well! But can anyone think of a problem it could generate???
anyway thanks a lot 'sp0rk3d' for your feedback
sharing knowledge is the alltime hie!
03-05-2003, 05:03 PM
You'll still need to tangent constrain the button to the surface because your expression method there won't adjust the rotation of the object as the underlying surface moves.
01-14-2006, 01:00 PM
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.
vBulletin v3.0.5, Copyright ©2000-2015, Jelsoft Enterprises Ltd.