Get transforms of testCube1, then Set those to testCube2 transforms…
1 2 3 4 5 6 7 8 9 10 11 |
cube = FBModelCube("testCube1") position = FBVector3d() rotation = FBVector3d() scaling = FBVector3d() cube.GetVector (position, FBModelTransformationType.kModelTranslation) cube.GetVector (rotation, FBModelTransformationType.kModelRotation) cube.GetVector (scaling, FBModelTransformationType.kModelScaling) cube2 = FBModelCube("testCube2") cube2.SetVector(position, FBModelTransformationType.kModelTranslation) cube2.SetVector (rotation, FBModelTransformationType.kModelRotation) |