Open zite opened 4 years ago
Looks like animated weights weren't supported in the original sample, so they aren't supported in Aardvark yet.
You could probably do a similar animation with scale and translation...
if (source.target_path == "weights") {
std::cout << "weights not yet supported, skipping channel" << std::endl;
continue;
}
"weights" is how GLTF animates a mesh using morph targets.
This may need to wait for #11. Adding morph targets to the existing "engine" would be a bunch of work.
Here's a link to the model: https://github.com/zite/slimeslime/blob/master/src/models/slime.glb That project should have an auto-start example of using it.