This is a first attempt at a simple Collada rig class written in Swift for SceneKit. It stores and triggers various animations exported from Blender as Collada .dae files. It's derived partly from Apple examples such as the Fox demo, and a number of other sources, but particularly this Stack Overflow thread. The class assumes that the animation contained in the master
.dae file (the one with the geometry) is the "rest" animation. The "walk" animation starts by pausing the "rest" animation and ends with "rest" resuming. Press and hold the mouse button to make the figure walk, release to resume the resting pose.