Sign in to follow this  

animation advice

Recommended Posts

My 3D game that I'm working on supports 3D hierarchies, and I need it to support them in animation too. I'm thinking about using key-frame based animation, and I'm basically wondering: Would it be better to store the rotation/translation of every key-frame in an array, have a set time that each keyframe takes, and then calculate the translation/rotation of the object based on how much time has gone by between each keyframe, or would it be better to have an array of the key-frame values, and then have an array with varying times in it for each keyframe (so if the object was going in a line, it would use less keyframes and have a different time), and then calculate the translation/rotation based on how much time has gone through on the current key-frame? Sorry if the explanation was hard to follow :Thanks in advance :) -wyrmmage

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this