I tried to append animation of a .X model to another existing model using APPEND OBJECT, DBpro gave me this error, "Animation Keyframe doesn't exist!" I remember this function used to work in DBClassic.
To be more specific, here is what I do roughly.
1. I load a .X file, namely TEST.X as a mesh object using LOAD MESH
2. I create a 3D Object using MAKE OBJECT by refering to the mesh created in step 1.
3. I tried to append the animation back to the object by calling APPEND OBJECT with the animation in TEST.X to the object created in step 2.
You might ask, why do I go around so much hassle instead of just using LOAD OBJECT that will load the .X file with all the animation data intact. The reason is, I need to perform some alteration on the vertex data. Therefore, using DBpro mesh is the only way I can gain access to the vertex data via memblocks. It is because that DBpro mesh will throw away all the animation data in .X, thus I need to put them back again when the OBJECT is reconstructed.
Any ideas?
Thanks!
Bad Nose Entertainment - Where games are forged from the flames of talent and passion.
http://www.badnose.com/