Skip to content
\n

You can describe the animation steps with the vector keys. Each key has a time and a position. If you want to change the interpolation mode: this is also supported.

","upvoteCount":1,"url":"https://github.com/orgs/assimp/discussions/5792#discussioncomment-10722515"}}}
Discussion options

You must be logged in to vote

Yes, you can use the node animations to model this:

aiNode *node = new aiNode;
node->mName.Set("node");
aiNodeAnim anim;
anim.mNodeName("node");
anim.mNumPositionKeys = 2;
anim.mPositionKeys = new aiVectorKey[anum.mNumPositionKeys];

You can describe the animation steps with the vector keys. Each key has a time and a position. If you want to change the interpolation mode: this is also supported.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@AMZN-Gene
Comment options

Answer selected by kimkulling
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants