Hi guys i need a script which elimnates parenting but whitout changing the animation
Is it possible ?
regards
Hemanth
elimnate parenting
Moderator: byronnash
I think you mean to say that you need to plot the data for a transfomation ...
If that's the case I used to do this by using Motion Math and multiplying by 1. That gave me a key frame for every frame, but you'd have to do that on the original layer then copy that to any other layers.
Last time I tried to use this though I couldn't find Motion Math. I think Its been removed.
So, I'm think everything I've said here is moot. Nevermind.
If that's the case I used to do this by using Motion Math and multiplying by 1. That gave me a key frame for every frame, but you'd have to do that on the original layer then copy that to any other layers.
Last time I tried to use this though I couldn't find Motion Math. I think Its been removed.
So, I'm think everything I've said here is moot. Nevermind.
-
- Posts: 704
- Joined: June 5th, 2004, 7:59 am
- Location: London, UK
hemanth
you want to 'bake' the result of any parented animation into keyframes so the layers can be unparented? sounds like it could be possible to make a script, but it may not be all that easy.
expressions have the ability to work out unparented tranformation values using the toWorld/Comp functions, so the script may need to add these expressions and then do the equivalent of 'Convert Expression To Keyframes'. if Dan Ebberts' reading this, maybe he can supply the correct expressions.... I've never totally understood the toWorld stuff.
you want to 'bake' the result of any parented animation into keyframes so the layers can be unparented? sounds like it could be possible to make a script, but it may not be all that easy.
expressions have the ability to work out unparented tranformation values using the toWorld/Comp functions, so the script may need to add these expressions and then do the equivalent of 'Convert Expression To Keyframes'. if Dan Ebberts' reading this, maybe he can supply the correct expressions.... I've never totally understood the toWorld stuff.
-
- Posts: 704
- Joined: June 5th, 2004, 7:59 am
- Location: London, UK
scribling
the method you used for creating all keyframes using Motion Math sounds like it would be easy to replicate with expressions. Add an expression to a property (just the default expression will work fine), then ctrl/right-click on a keyframe (or the I-beam) and select Keyframe Assistant > Convert Expression To Keyframes.
But I don't think this technique would solve hemanth's problem because he needs keyframes that replicate the combination of both the child layer and any parented layers' transformations.
I think Motion Math was removed because all its functionality can now be replicated with expressions or scripting. The only other thing it could do was convert audio to keyframes, which is now possible using the Keyframe Assistant.
the method you used for creating all keyframes using Motion Math sounds like it would be easy to replicate with expressions. Add an expression to a property (just the default expression will work fine), then ctrl/right-click on a keyframe (or the I-beam) and select Keyframe Assistant > Convert Expression To Keyframes.
But I don't think this technique would solve hemanth's problem because he needs keyframes that replicate the combination of both the child layer and any parented layers' transformations.
I think Motion Math was removed because all its functionality can now be replicated with expressions or scripting. The only other thing it could do was convert audio to keyframes, which is now possible using the Keyframe Assistant.