Answered

How to use child of constraint

Anonymous 2 years ago updated by Peter - Soxware Developer 4 days ago 4

I'm sure this question can be found in the forum, and I've seen similar questions in the comments of tutorial videos on YouTube.

Youtube video


I think (and I personally agree) that many people will try this feature because it is one of the most attractive features that Umotion has to offer.
So it would be nice to have detailed instructions, but I'll leave you with a translation of what I wrote in Japanese.

I saw the file "PickUpAnimation" in UMotionProjects in UmotionSample.

Image 1187



I also want to reproduce this, so I created a new Project with a new humanoid
I prepared a character, added a sphere and added it to PoseEditor.

Image 1188


There is a sphere in ConfigMode, I tried to display this in Visibility in properties, but I got an error.
English is not my native language, so I translated it through Google Lens and it says, "You have a sphere in the parent hierarchy, please put it in the child hierarchy."
That seems to be what it says.

Image 1189

At this time, I noticed that in the You Tube tutorial video, the object labeled "Hip" is a generic joint/bone, and mine was a humanoid bone.
Mine was a humanoid bone.

Image 1190



I checked Robot Kyle's Avatar and noticed that the object labeled Hip was there, but not mapped anywhere.

Image 1191


I thought this might be the cause, so I checked the Avatar I was using, and the object named Hip in this Character is definitely a humanoid bone.
I will try to recreate Robot Kyle, and for the character I cost, I should be able to just Mapping the Armature at the top level of Hips to Hip.

Image 1193


Create a new Project, prepare a character, add a Sphere and add it to PoseEditor.
What do you think, it worked fine.

Image 1194


I spent about 5 days before I noticed the difference in this Hip.
I hope this post will be useful for beginners who are learning child of constraint and encounter the same difficulties.

Image 1196


Translated with DeepL

UMotion Version:
1.29
Unity Version:
2021.3.8.f1

Whats interesting is this can be applied to interchangable facial masks, helmets, and goggles.

Answered

Hi,
thank you very much for sharing your knowledge/the experiences you've made with the child-of constraint with others so that they can learn from it. That helps the community a lot!

In case you have any questions in the future, don't hesitate to ask here on the forums. I'm happy to help.

Best regards,
Peter

Hi Peter, 
I am trying to parent the steering wheel with Robot Kyle's Right Wrist using Child of Constraint.
Am getting the same error message when trying to click Show in Properties. Would appreciate your help thank you very much.

Image 1417

.

Hi,
sorry for the late reply. The steering wheel needs to be a child of the "Root" transform.

To fix that:

  1. Click on "Clear" in the pose editor to unlock your character.
  2. Then in Unity's hierarchy window, drag the steering wheel onto the "Root" transform to make re-arrange it.
  3. Then assign the character to UMotion again.
  4. Click OK in the appearing dialog that asks you if you want to add the new found transform.
  5. In config mode (in the pose editor) click on "Cleanup" to remove the reference to the old steering wheel.
  6. Now it should be possible to set "Visiblity" to "Show".

Please let me know in case you need further assistance.

Best regards,
Peter