Created
January 22, 2012 11:37
-
-
Save OmniZ3D/1656666 to your computer and use it in GitHub Desktop.
MoBu: Copy keys to FBModel
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from pyfbsdk import * | |
mySource = FBFindModelByName("cube_source") | |
myDestination = FBFindModelByName("cube_destination") | |
print mySource.Name,myDestination.Name | |
myDestination.Translation.GetAnimationNode().Nodes[0].FCurve = mySource.Translation.GetAnimationNode().Nodes[0].FCurve | |
myDestination.Translation.GetAnimationNode().Nodes[1].FCurve = mySource.Translation.GetAnimationNode().Nodes[1].FCurve | |
myDestination.Translation.GetAnimationNode().Nodes[2].FCurve = mySource.Translation.GetAnimationNode().Nodes[2].FCurve |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment