Hey @mu_bebawy, the Attach Constraint works like traditional Maya parenting.
- Select
Child
- Shift + Select
Parent
- Attach
The child will now act as a child relative the parent, except it is parented to the physical (dynamic) version of the character rather than the Maya (kinematic) version.
In the above example, the Attach Constraint makes the box act as though it was parented to the head. You’ll notice the constraint handle is parented to the head, and that it moves along with it. We can also offset this position.
This visualisation demonstrates where on the simulated parent you want the child to reach. As the parent moves around, it will attempt to position the child at this position.
The same applies in more complex cases, such as:
Here, we use the visualisation to position the hand at a specific location and in a specific pose relative the foot, which is acting as the parent of the hand.
The distance (and orientation) is maintained for as long as there is Stiffness on the Attach Constraint.