Im making a scene where a character is shooting a practice dummy. The dummies hat flies off then his head. The dummy then is retracted back into the floor accept; I need the hat and head to follow at first but when they are knocked off I need them to stay behind.
If I just animate it it would look crappy.
Usually I would just link objects but when parent obj moves they move too. Which is what I want (at first) I dont want this. If I Break LInk the objects dont follow at first and the parent objects spazzes out. ANy Ideas?
Basically the same idea making a gun follow a char while still being free. Or any object following a char (armor, accessories, back pack) anything removeable.
Replies
What program are you animating in? That will make the specific steps easier to outline
In Maya its called a Parent Constraint, same functionality same purpose.
A 'Link Constraint' is used by;
-selecting the object you'd like to link to something eles (in your case, the hat)
-going to the motion tab (the wheel beside hierarchy)
-under the 'Assign Controller' sub-tab, click and highlight 'Transform'
-there is a small clickable box with a question mark in it, just above where you clicked 'Transform', click it.
-select 'Link Constraint'
-now in a new sub-tab called 'Link Params' you can click 'add link' and then select your dummy (do this on the first fram that you want your hat to be following the dummy, and in the correct position, probably on the dummy's head at the start of the animation)
-scrub your timeline to where the hat is supposed to fly off the dummy, and no longer linked to the dummy, and then click 'Link to World' (this will 'unlink' the hat from the dummy) and then you can animated it falling off.
Hopefully that makes sense and is easy enough to follow. Let me know if you have any questions.
Noisymonk
edit: Ah yes, as Vig mentions below - linking to world on your first frame is very important, and you can also access the link constraint by either method.
Make sure you're using the actual animation constraint, not the select and link tool which will set permanent links that can not be undone during animation.
Click the hat, click Animation > Constraints > Link Constraint. (Or assign it via the motion tab > Assign Controller.)
Then link it to the world first. Always link it to the world first even if its just for a single frame. It avoids a lot of problems. Then move the time slider to the next frame and "add link" the object to the parent then when you want the object to be animated by its self you link it back to the world.