0
$\begingroup$

I have 2 objects : A and B. A will become the parent object, it has position/rotation animation. B is static object (no animation) . I want the B to be the child of A so i want B to move/rotate exactly as A ... but also i want to be able to move B in its local coordinate. This is like regular parenting, but i want B to jump to A and match A orientation.

$\endgroup$
  • $\begingroup$ Are you trying to animate the transition from the untransformed B to the transformed B? $\endgroup$ – Justin Helps Mar 22 at 13:13
  • $\begingroup$ A has animation ( A can be an empty object) i want to parent B to A so B (child) will have the same movement /rotation/scale etc as A (parent) while B can still have its local indendent movement. $\endgroup$ – andio Mar 22 at 13:33
  • $\begingroup$ It sounds like regular parenting will do the job, unless you want to animate the "jump" where B enters A's reference frame. In that case, you could use a "Child Of" constraint on B, targeting A, and animate the influence property of the constraint from zero (off) to one (on). $\endgroup$ – Justin Helps Mar 22 at 13:44
  • $\begingroup$ As Justin says, you can easily do what you want to do with simple parenting: parent B to A, create some keyframes for the movement of A, create some keyframes for B when you want it to come closer or go away from A, where exactly is the limit of this simple method? $\endgroup$ – moonboots Mar 22 at 13:57
  • $\begingroup$ Thanks i already got the answer below, so when i clear out/reset position/rotation of B to 0, it should jump to A as if the A position is the 'world' of B. $\endgroup$ – andio Mar 22 at 14:02
1
$\begingroup$

use child of constraint and press alt G (alt R resets the rotation) to Reset the location of object B.
enter image description here

$\endgroup$
  • $\begingroup$ This way, i can't move/rotate B anymore. $\endgroup$ – andio Mar 22 at 13:31
  • $\begingroup$ if you want to still be able to transform the mesh use the child of constraint $\endgroup$ – Syler Mar 22 at 13:34
  • $\begingroup$ nice, it works perfectly. Btw how can i bake this constraint if i want to export to fbx ? $\endgroup$ – andio Mar 22 at 13:58
  • $\begingroup$ i know very little about animation so i can't help you with that you should post another question. $\endgroup$ – Syler Mar 22 at 14:10
  • $\begingroup$ Ok no problem , thanks a lot for the solution. $\endgroup$ – andio Mar 22 at 14:14

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.