Add additional setAnimation method
Merge pull request #767 from xoppa/3dapi

Add additional setAnimation method