I am loading a third-party .dae Collada file as a scene into a SceneKit project.
The .dae file has many different animations in it, set at different times/frames. I
As Toyos mentioned in his answer, enumerate the CAAnimationGroup using SCNSceneSource and retrieve the CAAnimation objects as follows:
NSURL *daeURL = [[NSBundle mainBundle] URLForResource:@"exportedFilename" withExtension:@"dae"];
SCNSceneSource *sceneSource = [SCNSceneSource sceneSourceWithURL:daeURL options:nil];
NSMutableArray *myAnimations = [@[] mutableCopy];
for (NSString *singleAnimationName in [sceneSource identifiersOfEntriesWithClass:[CAAnimation class]]) {
CAAnimation *thisAnimation = [sceneSource entryWithIdentifier:singleAnimationName withClass:[CAAnimation class]];
[myAnimations addObject:thisAnimation];
}