3
$\begingroup$

I am making a Reloading animation and I want at first to Parent the mag to the gun when it moves, then Parent the mag to the hand.

So to do that I though of creating 2 Child of Constraints and then somehow animate the disabling and enabling of the two Constraints.

So, how do I do that, if there is any way?

or maybe it would better be to do so somehow else.

& please no python

$\endgroup$
7
  • $\begingroup$ Did you tried to animate the influence sliders? $\endgroup$
    – Polosson
    Aug 30 '15 at 10:13
  • $\begingroup$ No sure, what you mean... Oh now I got it, but I want to change the parent of the mag Completely, from the bone of the gun to the bone of the hand $\endgroup$
    – A.D.
    Aug 30 '15 at 10:15
  • $\begingroup$ Maybe the best thing for me to do is to create a bone for the gun and then just with One Constraint, just animate the Bone that the mag is parented to by changing from gun bone to hand bone $\endgroup$
    – A.D.
    Aug 30 '15 at 10:17
  • $\begingroup$ Well, if you put two "child of" constraints to the mag, one linked to the gun, and another linked to the hand, you can animate their influences so that when the first is at 1, the other is at 0, and vice-versa. Is that what you mean? $\endgroup$
    – Polosson
    Aug 30 '15 at 10:20
  • $\begingroup$ I totaly got you now, yes thats what I mean,but will that mean that I will have to create a separate bone for the gun, as I need the mag to be parented to it at first $\endgroup$
    – A.D.
    Aug 30 '15 at 10:23
3
$\begingroup$

There must be a better way to do what you want, but to answer your particular question about animating child of constraint, you can use the influence slider of each constraint.

Constraint the mag with two "child of" constraints, one linked to the gun, and another linked to the hand. Then you can animate their influences so that when the first is at 1, the other is at 0, and vice-versa.

enter image description here

$\endgroup$
2
  • $\begingroup$ Yeah, I was thinking of something like this, but with a twist - using two empties that are parented to the gun and hand each, so that one can readjust the positioning later without hassle just by nudging the empties. Also I was thinking of using Copy Transforms, but is there some benefit of using Child Of instead? $\endgroup$
    – Mentalist
    Aug 30 '15 at 17:07
  • $\begingroup$ @Polosson I didn't know this was even an option, and have needed this exact thing for sooooo long. Thanks for posting this answer. It will help simplify some of the work I do. $\endgroup$ Aug 31 '15 at 1:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.