Controller Copying

I copy a model ( 2 trimeshes) which have animation ( keyframe controllers).

I check the conroller of the copied model, of trimesh 0, it contains the controller

and it has the correct min/max time. But it wont animate no matter what I do.

Keep in mind, if I render the original model, it will animate. I have tested this

On a few diffrent animated md3 models, and no matter what, the copied mesh/controller

wont animate.



Layout of X- (Model Node)



          Node

            |

          Node

            |

Trimesh 0  Trimesh 1



Layout of A - (Copy of model)



          Node

            |

Trimesh 0  Trimesh 1








Controller copyAnim = new KeyframeController();

Node x = (Node)Models.get(name);
CloneCreator y = new CloneCreator(x);
Node a = (Node)y.createCopy();
((Node)x.getChild(0)).getChild(0).getController(0).putClone(copyAnim, y);
a.getChild(0).addController(copyAnim);

How are you copying?  Have you doublechecked that the controller on the copy is enabled and is getting updated?

Enabled?If you mean IsActive/SetActive then it is. And is it getting updated? Its not working so its probably not…? I havent worked with controllers too much, so I dont know alot about them.

I've been trying all sorts of stuff. Its being updated. But I am seeing no animation :(. Animation works only on the original model for some odd reason, and not the cloned.







http://rapidshare.de/files/8898468/Peasant.MD3.html

Please add a bug to the issue tracker (to keep this issue alive) and we'll investigate.