Animation Struct help.

A place for users of OGRE to discuss ideas and experiences of utilitising OGRE in their games / demos / applications.
Post Reply
Posts: 30
Joined: Thu Nov 18, 2004 3:36 pm

Animation Struct help.

Post by ji_man »

Hello. I'm making a struct which stores animation state and a vector with all
the keyframes for a given geometric model. But I'm wondering if this is right:

struct AnimSequenceDescriptionStruct {

Ogre::Mesh * keyframes;

I'd like to know if I should store the keyframes as Meshes or that's not right. The pointer is supposed to be a vector of keyframes. And the struct is a one shared by all the entities (entities of my own, not ogre ones I mean) which have
the same geometry. Thanks.

Post Reply