Community
Maya Forum
Welcome to Autodesk’s Maya Forums. Share your knowledge, ask questions, and explore popular Maya topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Parent Constraint issue. Please help

8 REPLIES 8
SOLVED
Reply
Message 1 of 9
puc2010SRPDL
464 Views, 8 Replies

Parent Constraint issue. Please help

I was trying to pass one object from one hand to another and then pass it back and i get this issue every time. If i make a parent constraint on one hand and then I place the object on the other hand and make a parent constraint, the object teleports to the initial position when i turn on blend parent on the first hand again (as in the video). If i make a parent constraint on both hands in the beginning, then the object teleports back sooner, when i turn on blend parent on the second hand. So the problem is, the object always teleports to the position where it was, when parent constraint was made.
I used locators, groups, locators in groups - every time same result. I don't undertand what i'm doing wrong. 
Sorry if i made a hard explanation. I'll try my best to give all information you need, just ask. 
https://youtu.be/QEshYziLEuk

8 REPLIES 8
Message 2 of 9
Parmenides
in reply to: puc2010SRPDL

When parenting constraints it is important to have the object that is changing from one controller object to another grouped first. For example put the stick in a group then constrain the group to the hand. This way you can move it/animate it inside the group when it moves after constraint changes. 

Message 3 of 9
puc2010SRPDL
in reply to: Parmenides

Here is the method as you advised, with the group. https://youtu.be/3FtEODwSe_M
I got the same issue. Or are you saying that this is ok and i just should solve my problem by animating inside a group if this happens? I don't really know, but it feels like it's strange and not the right method to solve this. Or is it?
Message 4 of 9
Parmenides
in reply to: puc2010SRPDL

Yes, that is what I mean. Don't forget to keyframe the motions inside the group.  I've done many projects with complex parent constraints. They have always jumped. 

Message 5 of 9
puc2010SRPDL
in reply to: Parmenides

So, i make a group, use this group only for constraints, then if i want to move the object, I animate the object itself inside the group. Right?
Here is a video if i did it right. https://youtu.be/Pr_BHt7uDE4
Just to be clear, the only solution is to manually place the object back? If so, then is there any proper way to do this? Or just place it approximately where it should be?
Message 6 of 9
Parmenides
in reply to: puc2010SRPDL

That looks correct to me. I would also use onion skinning to help line up the bat again at the end.  I used to have a script for finding the absolute position which made much easier to get the exact transform and rotation but it stopped working with the 2019 upgrade. 

Message 7 of 9
puc2010SRPDL
in reply to: Parmenides

Thanks for your help. I've been told on reddit that you can use locators to get the object in the right place when it jumps. Use "match transformations" with a locator on the object when it is not attached but stands in the place where you want it to be and then, after attaching, just snap this object to the locator by matching transformations again. So it stands in the same place. Worked for me.
Message 8 of 9
Parmenides
in reply to: puc2010SRPDL

Glad you got it sorted out. Thanks for posting your solution. 

Message 9 of 9
puc2010SRPDL
in reply to: Parmenides

https://vimeo.com/707751072
All credits to this guy, he also helped me as you did. He showed the solution in this video. Watch it if I wasn't clear enough.
Well, still strange that this problem exists. Doesn't feel right. Anyway, thank you again for the help

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report