A simple Swift SceneKit class for loading rigged models exported from Blender and handling animations
Swift
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
RunningMan.xcodeproj
RunningMan
README.md
RunningMan.gif

README.md

running man

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.