Say I have a simple mesh in Blender, with two keyframes, like so:
Then, another animation for the same mesh, also with two keyframes:
Theese animations worke fine in Blender and I can switch between them in the Dopesheet, where they are called "actions":
The problem arises, when i try to export this to the Collada format, for use in my game engine. The only animation/action that seems to be carried over, is the one currently associated to the mesh. Is it possible to export multiple animations/actions for the same mesh, to the Collada format?
Answer
The Collada exporter in blender does not support what Collada calls "animation clips", so only the current animation will be exported. You have a few options I can think of:
- Fix the exporter (or convince someone to do it for you).
- Write a script that loops through the actions and exports a new file for each action.
- Use the NLA editor to create a track that has all the actions in sequence.
- Export to another format that is easier to work with.
Obviously the first choice would be most appreciated by everyone else coming across this problem in the future.
No comments:
Post a Comment