1
$\begingroup$

I have two different objects: a weapon and a magazine. How do I rig them and make them move in sync?

$\endgroup$
2
  • $\begingroup$ You can't answer a question about how to rig something without knowing how you want it to be animated. What kind of animation do you want from these? $\endgroup$
    – Nathan
    Jun 27, 2018 at 1:52
  • $\begingroup$ "weapon is and object and the weapon is another object..." this is a typo, Its possible you mean "weapon" and "magazine". $\endgroup$
    – Timo
    Jun 27, 2018 at 13:19

1 Answer 1

0
$\begingroup$

What you are looking for is a Child of Constraint.

Both the gun and the magazine need to be rigged separately with at least one bone each.

This file comes with a likely scenario: a hand with a gun holster (the character) which has 1 rig, the gun (separate rig), and magazine (separate rig). diagram

  • The hand has a special bone called "Grabber" where the gun and the magazine will be parented to with the constraint.
  • The gun has 2 "Child of" constraints, one for the hand, one for the holster
  • The magazine has 3 "Child of" constraints - hand, gun and holster.

In an animation, you keyframe the influence to the bone you want it parented to. If the mag is in the gun, put the gun influence at 1 (and move the mag rig to the gun). Now if the gun moves, the mag moves. Same thing with the other elements.

Only one influence must be active.

If you are building this yourself from scratch, you must press the "set inverse" button each time you add a new Child of constraint.

$\endgroup$

Not the answer you're looking for? Browse other questions tagged .