This project is read-only.

Keyframe Animation

Sep 28, 2011 at 12:25 PM

Hi guys, well, i dont know how to use keyframe animation class of the engine.I need this for a FBX Model exported from maya. Thanks


PD: Sorry, my english really sucks.

Sep 28, 2011 at 12:28 PM
Take a loot at the animation sample if you want to play the model animation. It is using BoneAnimation.

Typically you don't need to use the keyframe animation class unless you're creating some custom animations that updates each frame.

Sep 28, 2011 at 12:37 PM

Thanks for reply, in the FBX models, the animations be saved in Keyframes, and they no have name or number.In the model.GetAnimation(), i need to give a number of animation or a name of them.How i can play the animations with this?, or i need to change my model format to .x?.Thanks.

Sep 30, 2011 at 3:23 AM

It's true for FBX animations there's only 1 animation track. At the current stage, we don't support splitting this animation track into multiple subtracks. So the easiest walkaround is to switch to use to .x format for multiple animations.