ex.printStackTrace();
}
}
private void createAnimation() {
final ColladaImporter colladaImporter = new ColladaImporter();
// Make our manager
manager = new AnimationManager(_timer, pose);
// Add our "applier logic".
final SimpleAnimationApplier applier = new SimpleAnimationApplier();
manager.setApplier(applier);
// Add a call back to load clips.
final InputStore input = new InputStore();
input.getClips().setMissCallback(new MissingCallback<String, AnimationClip>() {
public AnimationClip getValue(final String key) {
try {
final ColladaStorage storage1 = colladaImporter.load("collada/skeleton/" + key + ".dae");
return storage1.extractChannelsAsClip(key);
} catch (final IOException e) {
e.printStackTrace();
}
return null;