PEN
01-17-2007, 07:46 PM
Ok I have two rigs. i'm writting a script to post the animation from one to the other. The two rigs are the same but different joint placements as one is male and one female.
I'm just baking the animation from one to the other so I have calcualted the transform offsets from the female control to the male control. Then I'm setting a key every frame on the controls for the male. Now if I run the line of code for the setting the position of the object on each frame then it works and places the control with the expected offset from the females control. If I run the piece of code inside an At Time context with Animate On I don't get the expected results but only on certain objects.
It looks like the objects that i'm having difficulty with are ones that have a parent object with a position constraint on them.
Any idea what is causing this? Anyone?
I'm just baking the animation from one to the other so I have calcualted the transform offsets from the female control to the male control. Then I'm setting a key every frame on the controls for the male. Now if I run the line of code for the setting the position of the object on each frame then it works and places the control with the expected offset from the females control. If I run the piece of code inside an At Time context with Animate On I don't get the expected results but only on certain objects.
It looks like the objects that i'm having difficulty with are ones that have a parent object with a position constraint on them.
Any idea what is causing this? Anyone?
