An addition of AnimationTarget::create(const char* id, const Animation* animation) that clones clips and other animation components, but binds to a different AnimationTarget and resets all playbacks to start/stops any running playbacks. This way clips and animation don't need to be recreated every time.
Internal Clips and Channels should work with Ref so they can be reused easily.
An addition of
AnimationTarget::create(const char* id, const Animation* animation)
that clones clips and other animation components, but binds to a different AnimationTarget and resets all playbacks to start/stops any running playbacks. This way clips and animation don't need to be recreated every time.Internal Clips and Channels should work with Ref so they can be reused easily.